Re: [Libclc-developers] -std=c99 vs. -ansi
Status: Planning
Brought to you by:
augestad
From: Hallvard B F. <h.b...@us...> - 2003-04-24 17:21:54
|
Bj=F8rn Augestad writes: > We should probably have both a /builds/gcc/c89 and c99 version, as we=20 > need to test c99 specific stuff like CLC_RESTRICT. Good point. Though it's probably easier to have just one Makefile which people can edit or copy, with this near the top: # Uncomment one of these: ISO C89 or ISO C99. STD =3D -ansi # STD =3D -std=3Dc99 Then, CFLAGS =3D $(STD) -pedantic -Wall ... --=20 Hallvard |