Re: [AD] al_list_config_entries

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On June 22, 2005 04:22 pm, Chris wrote:
> Evert Glebbeek wrote:
> > As far as I know, Microsoft's compiler is actually a C++ compiler, which
> > means that they don't even have to support any C99 features to have a
> > fully complient compiler (the idea that `C++ is a superset of C' is no
> > longer true with C99).
>
> Since Allegro is C, then that would imply that VC++ is inherently
> incompatible.
>
> > However, I do think we shouldn't hold back on C99 too much. We can insert
> > preprocessor directives to work around incompatibilities between MSVC and
> > C99.
>
> That can only go so far, though. C99 defines specific behaviors for
> constructs that are currently extensions in VC. You can add preprocessor
> directives to add in missing typedefs, but can you add preprocessor
> directives to make it (for example) handle variable-length arrays
> correctly?

 Correction: Can you add preprocessor directives to make it (for example) 
handle variable-length arrays correctly? Without unnesesary, ugly and 
potentially complex hacks.

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/