Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Grabusz on January 10, 2016, 10:59:01 pm

Title: Not working Syntax Highlighting
Post by: Grabusz on January 10, 2016, 10:59:01 pm
I've finally successfuly compiled C::B rv10638 (manually downloaded sf-generated snapshot), but Syntax Highlighting doesn't work. It works on an example in the menu, but when I open any .h .hpp or .cpp file it's just black and white.

Compiled wxWidget 3.0.2 64bit with:
Code
CFLAGS ?= -O3 -std=c11 -D_WIN32_IE=0x0603 -Wno-unused-local-typedefs -Wno-deprecated-declarations -m64 -fomit-frame-pointer
CXXFLAGS ?= -O3 -std=gnu++14 -D_WIN32_IE=0x0603 -Wno-unused-local-typedefs -Wno-deprecated-declarations -m64 -fomit-frame-pointer
mingw32-make -j2 -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1  clean
mingw32-make -j2 -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1

and CodeBlocks_wx30_64 with:
Code
-std=c11 -std=gnu++14 -m64 (-g -ggdb -O3)*
* - used only one at the time, and tried without any of them.

Using gcc 5.3.0 from Mingw-w64

Any ideas what might be causing the problem? I'm using 64-bit win7 (Syntax Highlighting works fine in binary versions of 13.12 and 15.12).
Title: Re: Not working Syntax Highlighting
Post by: stahta01 on January 10, 2016, 11:25:59 pm
10640 commit note is "* revert rev 10634 because matching all files for plain text is wrong"

See if SVN 10640 fixes your problem.

Tim S.
Title: Re: Not working Syntax Highlighting
Post by: Grabusz on January 11, 2016, 02:21:25 pm
It worked. Thanks :D