mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 08:00:51 +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.
8 lines
107 B
R
8 lines
107 B
R
#pragma warn error
|
|
|
|
double a;
|
|
float b = 1.0d;
|
|
int main ()
|
|
{
|
|
return 1; // test fails if compile succeeds
|
|
}
|