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

Enrico Tröger enrico.troeger at xxxxx
Wed Apr 24 20:09:47 UTC 2013


On 19/04/13 01:31, Lex Trotman wrote:
> On 19 April 2013 03:59, Enrico Tröger <enrico.troeger at uvena.de> wrote:
> 
>> On 18/04/13 19:36, Dimitar Zhekov wrote:
>>> On Tue, 16 Apr 2013 22:21:25 +0200
>>> Enrico Tröger <enrico.troeger at uvena.de> wrote:
>>>
>>>> Btw, does Geany build with MSVC?
>>>
>>> No. The '-mms-bitfields' warnings aside, it fails with:
>>>
>>> ..\plugins\saveactions.c(30) : fatal error C1083: Cannot open include
>>> file: 'unistd.h': No such file or directory
>>>
>>> So, we have Geany as geany-pplugins with do not compile with msvc, and
>>> the msvcrt.dll problem pointed by Lex. Disabling the msvc detection
>>> seems even more reasonable to me, for example:
>>>
>>>     from waflib.Tools.compiler_c import c_compiler
>>>     c_compiler['win32'] = ['gcc']
>>>
>>> just before opt.tool_options('compiler_cc') in both wscript files.
>>
>> I agree.
>> I also vote for disabling msvc detection paired with a comment that it
>> can be enabled again once someone steps up with a working patch for MSVC
>> support and a good reasoning why it should be supported :).
>>
> 
> Sounds like a plan :)

"I love it when a plan comes together.", er, I mean committed as
suggested to Geany and Geany-Plugins.



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/20130424/b3ee5da8/attachment.pgp>


More information about the Devel mailing list