kicad-developers team mailing list archive
Mailing list archive
Re: Internationalization questions.
Werner Almesberger <werner@...>
Thu, 21 May 2009 16:37:27 -0700
Wayne Stambaugh wrote:
> I just committed some internationalization string macro fixes that
> caused Visual C++ to choke on code that had long strings split for code
> formatting purposes. GCC has no problem compiling _( "A string split "
> "for code indentation purposes" ) but Visual C++ 8 will complain.
Hmm, but why does it dislike it ? According to Stroustrup C++ 2nd Ed.,
r.2.5.4, this is a perfectly valid construct.
Could the problem perhaps be somewhere in the macros and not in the
compiler itself ? Having to fall back to backslashes would seem to
be quite an anachronism.