This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Link time checking for incompatible flags


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]