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

Offline gd_on

  • Regular
  • ***
  • Posts: 443
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 10 or 7, svn C::B (last version or almost!), WxWidgets 2.8.12, Compilers TDM 4.9.2 32 bits (gcc and gfortran installed in C:\MinGW32). Tests with C::B 64 bits and WxWidgets 2.8.12 or 3.1.2 (64 bits) compiled by TDM 4.9.2 or Std 8.1 in C:\MinGW64

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9488
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: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ