Bug#373623: Conflicting CFLAGS in build (-ansi).
Pat Suwalski
pat at suwalski.net
Wed Jun 14 16:21:03 UTC 2006
Package: mesa
Version: 6.4.2-1
The mesa package doesn't compile on Sarge because gcc-3.3.5 gets confused.
debian/configs defines both "-ansi" and "-std=c99" in the
DEBIAN_COMMON_CFLAGS variable. DEBIAN_COMMON_CXXFLAGS also has "-ansi".
From the gcc manpage:
"The -ansi option is equivalent to -std=c89."
The compiler is getting confused. Even if it works in newer GCC, it's
still not right.
Mesa compiles properly when "-ansi" is removed from DEBIAN_COMMON_CFLAGS
and DEBIAN_COMMON_CXXFLAGS.
More information about the Pkg-mesa-devel
mailing list