mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
e4bb5c8048
This allows me to disable -Werror in the Makefile but still have the build tests work properly and not fail when they shouldn't.
9 lines
115 B
R
9 lines
115 B
R
#pragma warn error
|
|
|
|
double a;
|
|
int b;
|
|
int main ()
|
|
{
|
|
int x = a == b;
|
|
return 1; // test fails if compile succeeds
|
|
}
|