-----BEGIN PGP SIGNED MESSAGE----- On Tue, 15 Feb 2000, Shao Zhang wrote:
> Eg. if I compile with this: > $ g++ -g -c misc.c > misc.c: In function `char * cash(double, int, int)': > misc.c:44: implicit declaration of function `int bracket(...)' > misc.c:45: implicit declaration of function `int comma(...)' > > > The output is exactly the same with the newest g++ version, and older > g++. But the difference is that the older version will create a .o file > and the new version will not. And I can only see an error message when > they are compiled using make. Could you please post the relevant lines from your source? It was not included with your first post. Are 'bracket' and 'comma' functions that you have defined, or are they variables? Also, why are you using g++? All this looks like C code, and your source file ends in a lowercase 'c'. The C++ compiler should handle it properly, of course, but I've seen (and can post, if you want) some examples of valid C code that won't compile in a C++ compiler. I don't know how g++/gcc handle situations like this, but it seems a bit suspicious to me. noah PGP Public Key available at http://www.morgul.net/~frodo/mail.html or by `finger -l [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: 2.6.3a Charset: noconv iQCVAwUBOKoOdIdCcpBjGWoFAQFYpAP/XC0ZyM8u9KdO9mMGaYwstxqRXd/nxtWo +bSdoSZ+SykiefKeXQoHK1h680oaABVNcBJ5tMBhbWt2oZIRyVCi7yZcafxs+1WT K5xXw8T0KGfPP/+J9UG0ixv50ATH1O8KT+paq9TSdNZ1y5oVgXUb1U7Tu7+5tzH8 N7lVjQuR+uQ= =iKG3 -----END PGP SIGNATURE-----