2011/9/7 Lluís Batlle i Rossell <[email protected]> > On Tue, Sep 06, 2011 at 06:16:23PM -0400, Ron Wilson wrote: > > 2. Does C89 support inline functions? > > Not in the C code. Up to the compiler whether to make it inline or not. > Declaring it static will give more chances to get it inline, I think. >
c89 doesn't have the inline keyword. As Lluis suggests, i've gotten in the habit of using statics to fill that role. Or macros if they have to be cross-compilation-unit. I'd write plain C, and check if the compiler does its job. If so, then use > plain C89 until a bad compiler comes. > Apropos: reportedly MSVC doesn't fully support c99, so c89 _might_ be a requirement if someone wants to get fossil running on msvc. (tcc doesn't support c99 VLAs, but fossil doesn't use them.) AFAIK, all Windows builds to date are done using mingw(?). -- ----- stephan beal http://wanderinghorse.net/home/stephan/
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

