home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!wupost!gumby!yale!yale.edu!jvnc.net!nuscc!matcsp
- From: matcsp@nuscc.nus.sg (Chan Shih-Ping)
- Subject: Bug in the WATCOM 9.0 preprocessor?
- Message-ID: <1992Aug17.014131.9113@nuscc.nus.sg>
- Organization: National University of Singapore
- Date: Mon, 17 Aug 1992 01:41:31 GMT
- Lines: 24
-
- Is this a bug in the WATCOM 9.0 preprocessor?
-
- /* Input file test.c */
-
-
- #define A AA
- #define g(x, y) x ## y
- #define gg(x) g(x, A)
-
- extern g(B, A)();
- extern gg(B) ();
-
- /* End of test.c */
-
- Output of preprocessing phase:
-
- WATCOM C 386 Compile and Link Utility Version 9.0
- Copyright by WATCOM Systems Inc. 1988, 1992. All rights reserved.
- WATCOM is a trademark of WATCOM Systems Inc.
- wcc386 test.c /p
-
- extern BA();
- extern BAA (); <----- Isn't this wrong? Shouldn't it be BA ();
-
-