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]

Re: __attribute__ ((deprecated))


* Anthony Green (green@redhat.com) [20010424 06:05]:

> This looks cool, but how would this work with localized compilers?

With the compiler it wouldn't be such a problem. Mark the message with N_()
(which would mark it as translatable string and thus it would appear in
gcc.pot) and have the compiler call gettext.

The only problem would be the linker message, as the linker would only
output the english message. But IMO we could live with that, coudn't we?

Philipp

-- 
Penguins shall save the dinosaurs
                          -- Handelsblatt about Linux on S/390


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