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

Offline gd_on

  • Lives here!
  • ****
  • Posts: 732
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 10 64 bits (21H2), svn C::B (last version or almost!), wxWidgets 3.2.1, Msys2 Compilers 12.2.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: 9657
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: