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

Enrico Tröger enrico.troeger at xxxxx
Tue Apr 16 20:21:25 UTC 2013


On 16/04/13 20:26, Dimitar Zhekov wrote:
> 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?..

I'd say not yet.
I don't have MSVC and so could not test it. Do you have any clue where
the -mms-bitfields comes from? I couldn't find any reference in the
whole repository.

If the errors are only because of a naming clash, this would be quite
easy to fix I guess.


Btw, does Geany build with MSVC?


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.geany.org/pipermail/devel/attachments/20130416/90f6ba1f/attachment.pgp>


More information about the Devel mailing list