Mercurial > sdl-ios-xcode
annotate test/.cvsignore @ 1626:a80e1e0880b8
Fixed bug #176
[I'm fixing this for the public headers, but I'm not going to bother for the SDL library code (yet)]
To clarify: Normaly, GCC (or, to be precise, the preprocessor) will ignore
this, and compile the code happily. However, one can specify -Wundef to get a
warning about this.
One can probably argue whether to consider this a bug or not; but I think that
(a) from a semantic point of view, using "#if FOO" when FOO is not defined is
strange, and (b) since it is possible to trigger a warning about this, and a
trivial fix exists, it should be corrected.
I can think of two alternative patches, BTW:
1) Simply use #define HAVE_FOO 0, instead of not defining HAVE_FOO at all
2) Change
#if HAVE_FOO
to
#if HAVE_FOO+0
which always does the right thing.
But I think I still prefer the attached patch :-).
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 13 Apr 2006 13:38:40 +0000 |
parents | 7b4b31075f67 |
children |
rev | line source |
---|---|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
1285
diff
changeset
|
1 aclocal.m4 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
1285
diff
changeset
|
2 autom4te* |
416 | 3 config.cache |
4 config.log | |
5 config.status | |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
1285
diff
changeset
|
6 configure |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
1285
diff
changeset
|
7 Makefile |
1285
c9ae23d221ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1249
diff
changeset
|
8 SDL.dll |
c9ae23d221ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1249
diff
changeset
|
9 stdout.txt |
c9ae23d221ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1249
diff
changeset
|
10 stderr.txt |
416 | 11 checkkeys |
12 graywin | |
13 loopwave | |
14 testalpha | |
15 testbitmap | |
1249
e6a82dcdce09
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
817
diff
changeset
|
16 testblitspeed |
416 | 17 testcdrom |
1249
e6a82dcdce09
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
817
diff
changeset
|
18 testdyngl |
416 | 19 testerror |
1484
b2b476a4a73c
Added documentation on how to build a completely useless SDL library. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1380
diff
changeset
|
20 testfile |
416 | 21 testgamma |
22 testgl | |
23 testhread | |
1504
7b4b31075f67
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1485
diff
changeset
|
24 testiconv |
416 | 25 testjoystick |
26 testkeys | |
27 testlock | |
28 testoverlay | |
676
8b58eeef4576
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
416
diff
changeset
|
29 testoverlay2 |
416 | 30 testpalette |
1484
b2b476a4a73c
Added documentation on how to build a completely useless SDL library. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1380
diff
changeset
|
31 testplatform |
416 | 32 testsem |
33 testsprite | |
34 testtimer | |
35 testver | |
36 testvidinfo | |
37 testwin | |
38 testwm | |
1485
e507811313ee
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1484
diff
changeset
|
39 threadwin |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
1285
diff
changeset
|
40 torturethread |