Compiling and Linking help
John Love-Jensen
eljay@adobe.com
Tue Nov 8 15:11:00 GMT 2005
Hi Djekic,
a.h is malformed. It violates ODR.
>a.h is not the file I could change.
You either have to change it, or you have to rewrite it.
As it stands, a.h is malformed.
Look on s9.2.1 of Stroustrup's C++ Programming Language (3rd or Special
edition). Those are the kinds of things that go in header files. a.h
contains things that should not be present in a header file.
HTH,
--Eljay
More information about the Gcc-help
mailing list