Link time checking for incompatible flags
Rahul Joshi
rujoshi@uiuc.edu
Wed Apr 21 06:38:00 GMT 2004
Hi all,
A few days back, I had a hard time debugging my code, and the
reason was that I was linking code compiled with -fshort-enums
with code not compiled using that flag. It would have been
great if linker had somehow figured out the discepancy and
issued a warning. Would it be possible to add such link-time
checking for incompatible compiler options?
Thanks
Rahul
More information about the Gcc
mailing list