← Back to team overview

ooc-dev team mailing list archive

Re: compile with MSVC


It would be possible for the most part (perhaps a few hickups in some small locations). Some people have a liking for that kind of initialization, though.

A few side notes:
1) Would a MSVC compat header/compilation mode make sense?
2) It seems like there is a "screw them" attitude among certain people with regards to support for MSVC's (lack of) C99 abilities, so #1 seems unlikely. 3) Compiling to the shared subset of C and C++ might also fit with the compat thing.

On Aug 11, 2010, at 5:07 PM, Vincent Richomme <forumer@xxxxxxxxxxxxxxx> wrote:


I was curious to see if ooc bootstrap could be compiled using msvc and the biggest problem I have (I am not talking about missing stdbool, no restrict keyword, ...) is about the dot syntax used
from what I understand to declare structure members.
For instance :

           .instanceSize = sizeof(rock_middle_tinker_Trail__Trail),
           .size = sizeof(void*),
           .name = "Trail",

Would it be possible to generate some C code without this dotted syntax and use a
more traditional way of declaring structure member ?


Mailing list: https://launchpad.net/~ooc-dev
Post to     : ooc-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~ooc-dev
More help   : https://help.launchpad.net/ListHelp

Follow ups