incubator-celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Broekhuis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CELIX-42) Support Visual Studio
Date Sat, 01 Jun 2013 18:48:20 GMT

    [ https://issues.apache.org/jira/browse/CELIX-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672193#comment-13672193
] 

Alexander Broekhuis commented on CELIX-42:
------------------------------------------

I am not in favor of using -ansi, since MSVC actually supports a bit more then only C89. Altogether
having to use MSVC for C development feels like being thrown back years when comparing with
GCC etc. But there isn't a big chance of MS updating C support in VS...
So while I think some extra switches might help, I would like to make some tests to see which
ones are usable and don't turn of to much. The current codebase probably will compile with
a few chances, so we could use that as a starting point. If it compiles on GCC and MSVC we
could try with the additional switches. If it then fails with those switches, I don't think
we should use them...

Again, I find it somehow ridiculous that MSVC doesn't support any higher version of C :(.
But http://herbsutter.com/2012/05/03/reader-qa-what-about-vc-and-c99/ gives a good read (also
read the comments :)), and might give us some pointers on a way to go (eg use the c++ compiler,
as advised in that post.

What I find important is that we have a solution which is also viable for the longer term,
and not only a short term fix. 
                
> Support Visual Studio
> ---------------------
>
>                 Key: CELIX-42
>                 URL: https://issues.apache.org/jira/browse/CELIX-42
>             Project: Celix
>          Issue Type: Improvement
>            Reporter: Alexander Broekhuis
>            Assignee: Alexander Broekhuis
>
> To be able to use Celix on Windows several code changes are needed:
> * APR usage
> * Follow C90 style instead of C99
> * Fix CMake scripts

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message