Author Topic: The 17 June 2012 build (8059) is out.  (Read 72425 times)

Offline gd_on

  • Lives here!
  • ****
  • Posts: 796
Re: The 17 June 2012 build (8059) is out.
« Reply #45 on: July 07, 2012, 04:13:27 pm »
Hi,
there is apparently a small error introduced at line 71 in sdk/autodetectcompilers.cpp (svn 8086) which makes xgettext fail to prepare strings for CB Translation. It's a non ascii character following the word *probably*.
Its :
Code
            else // The compiler is *probably*Ü invalid, but at least a master-path is set
I suppose the good line should be :
Code
            else // The compiler is *probably* invalid, but at least a master-path is set

gd_on
« Last Edit: July 07, 2012, 04:25:07 pm by 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: The 17 June 2012 build (8059) is out.
« Reply #46 on: July 07, 2012, 04:55:32 pm »
there is apparently a small error introduced at line 71 in sdk/autodetectcompilers.cpp (svn 8086) which makes xgettext fail to prepare strings for CB Translation.
My fault. Fixed 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: The 17 June 2012 build (8059) is out.
« Reply #47 on: July 07, 2012, 05:24:13 pm »
Noticed a warning in the wxSmith build; no idea how long it has been there.
I am using MinGW GCC version 4.6.x and 4.7.0 doing testing to see how they work.
It might be a new warning with one of those versions.

Tim S.

Code
src\plugins\contrib\wxSmith\wxwidgets\wxsitemresdataobject.cpp|127|warning: converting 'false' to pointer type 'wxsItem*' [-Wconversion-null]|

Patch untested for working; compiled on Windows OK

Code
Index: src/plugins/contrib/wxSmith/wxwidgets/wxsitemresdataobject.cpp
===================================================================
--- src/plugins/contrib/wxSmith/wxwidgets/wxsitemresdataobject.cpp (revision 8093)
+++ src/plugins/contrib/wxSmith/wxwidgets/wxsitemresdataobject.cpp (working copy)
@@ -124,7 +124,7 @@
  if ( !Item )
  {
         Item = wxsItemFactory::Build(_T("Custom"),Data);
-        if ( !Item ) return false;
+        if ( !Item ) return 0;
  }
 
  Item->XmlRead(Root,true,true);

Tim S.
« Last Edit: July 07, 2012, 05:27:48 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Epicurus

  • Single posting newcomer
  • *
  • Posts: 4
Re: The 17 June 2012 build (8059) is out.
« Reply #48 on: July 09, 2012, 06:31:49 am »
Thanks again for your help MortenMacFly! I installed MinGW and my ProjectEuler exercise compiled and ran beautifully!

Do I need to worry about adding the directory for MinGW every time I upgrade the nightly? Presumably, I would delete my old version and install the new version in the same directory, including the two necessary DLLs.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 17 June 2012 build (8059) is out.
« Reply #49 on: July 09, 2012, 07:27:46 am »
Do I need to worry about adding the directory for MinGW every time I upgrade the nightly?
Usually not. The path is stored in the default.conf configuration file of Code::BLocks which is by default not in the installation folder. However, if you are using a portable installation - then it is. If you remove it, you have to setup the path again afterwards.
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

Offline DrShred

  • Single posting newcomer
  • *
  • Posts: 4
    • Lightworks
Re: The 17 June 2012 build (8059) is out.
« Reply #50 on: July 10, 2012, 09:53:53 am »
I've just switched from 10.05 to nightly build  8059 and have encountered a problem with linker settings (using Ubuntu 12.04, 64-bit).  In 10.05 I could specify $ORIGIN in the linker settings by putting '-Wl,-R\\$$ORIGIN' in the 'other linker options' section, but this doesn't work any more.  The build log shows '-Wl,-R\\', but no mention of $ORIGIN.  Is there a better/different way of specifying $ORIGIN now?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 17 June 2012 build (8059) is out.
« Reply #51 on: July 10, 2012, 10:10:31 am »
DrShred: have you tried to find a suitable variable here: http://wiki.codeblocks.org/index.php?title=Variable_expansion
I suppose origin was an internal variable, so you've not meant to use it.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 17 June 2012 build (8059) is out.
« Reply #52 on: July 10, 2012, 10:24:25 am »
I've just switched from 10.05 to nightly build  8059 and have encountered a problem with linker settings (using Ubuntu 12.04, 64-bit).  In 10.05 I could specify $ORIGIN in the linker settings by putting '-Wl,-R\\$$ORIGIN' in the 'other linker options' section, but this doesn't work any more.  The build log shows '-Wl,-R\\', but no mention of $ORIGIN.  Is there a better/different way of specifying $ORIGIN now?
Since some revisions we replace macros and variables in the linker settings.

You can try to triple the $-sign (-Wl,-R\\$$$ORIGIN).

Offline DrShred

  • Single posting newcomer
  • *
  • Posts: 4
    • Lightworks
Re: The 17 June 2012 build (8059) is out.
« Reply #53 on: July 10, 2012, 12:28:52 pm »
Triple $$$ works great!  Thanks for the quick replies!