Author Topic: Problem with a compiler xml file  (Read 9098 times)

Offline gd_on

  • Lives here!
  • ****
  • Posts: 799
Problem with a compiler xml file
« on: February 05, 2016, 10:38:25 am »
There are a few problems with the file options_mw.xml.
The problems appears when extracting chains with xgettext, to build translation files, because some characters are not ansi/ascii.
Lines 399 and 403.
We have there : "Use the processor’s .... but it should be "Use the processor's . The character ’ cause problems to xgettext (not an ascii one).

Line 411 : there is a CR/LF inside the character chain. Here too, xgettext does not seem to like this. Simply, as everywhere, put the chain on only one line.

find here a corrected file which xgettext accepts.

Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.5 (tests with 3.3), Msys2 Compilers 14.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Problem with a compiler xml file
« Reply #1 on: February 05, 2016, 01:13:26 pm »
Good catch && applied in SVN.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: