User forums > Using Code::Blocks

Not working Syntax Highlighting

(1/1)

Grabusz:
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

--- End code ---

and CodeBlocks_wx30_64 with:

--- Code: ----std=c11 -std=gnu++14 -m64 (-g -ggdb -O3)*

--- End code ---
* - 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).

stahta01:
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.

Grabusz:
It worked. Thanks :D

Navigation

[0] Message Index

Go to full version