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

Offline gd_on

  • Lives here!
  • ****
  • Posts: 796
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.

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.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: 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ