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]

Re: Link time checking for incompatible flags


Mike Stump <mrs@apple.com> writes:

> Ah, but it can still be done.  It does compare size, so one merely has
> to encode the value into the size instead of the contents of the
> section.

The resulting warning message would definitely leave something to be
desired.  The user would have to tie

ld: foo.o: warning: duplicate section `.gcc.options.fshort-enums' has different size

back to what really happened.

Ian


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