🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #769

bug in -ftraditional

#769
From: Johan Vromans
Date: Sun, 29 Oct 1989 23:20
20 lines
1056 bytes
GCC 1.36 recognizes the undocumented compiler switch "-ftraditional".

  $ cat t.c
  #define XX(X) 'X'
  main () { printf ("the char is '%c'\n", XX(A)); }
  $ gcc -traditional t.c && a.out
  the char is 'A'
  $ gcc -ftraditional t.c && a.out
  the char is 'X'
  $

Note the omission of an error message about "-ftraditional" being
unknown in the second case.

Johan
--
Johan Vromans				       jv@mh.nl via internet backbones
Multihouse Automatisering bv		       uucp: ..!{uunet,hp4nl}!mh.nl!jv
Doesburgweg 7, 2803 PL Gouda, The Netherlands  phone/fax: +31 1820 62944/62500
------------------------ "Arms are made for hugging" -------------------------
Technical Details
Message-ID: <JV.89Oct29162055@mhres.mh.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!brutus.cs.uiuc.edu!samsung!ginosko!uunet!mcsun!hp4nl!mhres!jv

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!brutus.cs.uiuc.edu!samsung!ginosko!uunet!mcsun!hp4nl!mhres!jv
From: jv@mh.nl (Johan Vromans)
Newsgroups: gnu.gcc.bug
Subject: bug in -ftraditional
Message-ID: <JV.89Oct29162055@mhres.mh.nl>
Date: 29 Oct 89 23:20:55 GMT
Sender: jv@mhres.mh.nl
Distribution: gnu
Organization: Multihouse Gouda, the Netherlands
Lines: 20