Author Topic: feature request: different colors for C-style and C++-style comments  (Read 11515 times)

Offline vix

  • Multiple posting newcomer
  • *
  • Posts: 60
Re: feature request: different colors for C-style and C++-style comments
« Reply #15 on: January 15, 2010, 01:22:31 pm »
I've been able to recompile wxWidgets without errors but I had to compile a debug build before being able to build a release one.
Then I've compiled C::B without problems

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: feature request: different colors for C-style and C++-style comments
« Reply #16 on: January 15, 2010, 01:25:31 pm »
I've been able to recompile wxWidgets without errors but I had to compile a debug build before being able to build a release one.
Strange. You can just build a release version of wxWidgets library. using these command:
Code
mingw32-make -f makefile.gcc  MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline vix

  • Multiple posting newcomer
  • *
  • Posts: 60
Re: feature request: different colors for C-style and C++-style comments
« Reply #17 on: January 15, 2010, 01:41:32 pm »
Quote
Strange. You can just build a release version of wxWidgets library. using these command:
Code
mingw32-make -f makefile.gcc  MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release
Yes, with MinGW this worked, but with TDM-GCC I have some strange "syntax errors" while creating libwxmsw28ud.a library in release build...

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: feature request: different colors for C-style and C++-style comments
« Reply #18 on: January 15, 2010, 01:52:01 pm »
Yes, with MinGW this worked, but with TDM-GCC I have some strange "syntax errors" while creating libwxmsw28ud.a library in release build...
TDM GCC 4.4.1-2 works here. :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.