[Geany-Devel] geany-plugins fail to build with msvc

Dimitar Zhekov dimitar.zhekov at xxxxx
Tue Apr 16 18:26:29 UTC 2013


Hi,

When I run 'python waf configure' under Windows, it detects msvc before
gcc, but 'python waf make' produces lots of:

cl : Command line warning D9002 : ignoring unknown option
'-mms-bitfields'

warnings, and then stops with:

bibtex.c
...\geanylatex\src\templates.h(81) : error C2143: syntax error :
missing ')' before '*'
...\geanylatex\src\templates.h(81) : error C2143: syntax error :
missing '{' before '*'
...\geanylatex\src \templates.h(81) : error C2040: 'gpointer' : 'int'
differs in levels of indirection from 'void *'
...\geanylatex\src \templates.h(81) : error C2143: syntax error :
missing ';' before '*'
...\geanylatex\src \templates.h(81) : error C2059: syntax error :
')'

This is with geany-plugins 2013-03-12.

Info(gcc) says that "-m[no-]ms-bitfields is provided for the Microsoft
Windows X86 compilers to match the native Microsoft compiler", so it's
obviously useless for the MS compiler itself.

The errors may be caused by cl confusing 'template' with the C++
keyword, I haven't checked.

Do we support msvc in the first place?..

-- 
E-gards: Jimmy


More information about the Devel mailing list