celix-commits mailing list archives

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

    [ 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

View raw message