You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Mike van Dongen (JIRA)" <ji...@apache.org> on 2013/06/01 19:46:20 UTC

[jira] [Commented] (CELIX-42) Support Visual Studio

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

Mike van Dongen commented on CELIX-42:
--------------------------------------

To make sure that code compiled with gcc also works with Visual Studio's C compiler, I think we should add these C_FLAGS for gcc: `-ansi -pedantic-errors`
The first one (-ansi) will make sure the compiler uses version ANSI C89, which is the version MSVC uses.
They both disable some extensions making the compiler apply strict rules.
                
> 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