case "$GXX_VERSION" in
egcs1.1 | gcc2.95)
- CXXFLAGSG="$CXXFLAGSG -Wmissing-declarations -Wbad-function-cast -Wtraditional -Wnested-externs"
- CXXFLAGSO="$CXXFLAGSO -fnonnull-objects"
+ CXXFLAGSG="$CXXFLAGSG -Wmissing-declarations -Wbad-function-cast -Wtraditional -Wnested-externs -Wno-non-template-friend"
+ CXXFLAGSO="$CXXFLAGSO -fnonnull-objects -Wno-non-template-friend"
;;
*)
case "$GXX_VERSION" in
egcs1.1 | gcc2.95)
- CXXFLAGSG="$CXXFLAGSG -Wmissing-declarations -Wbad-function-cast -Wtraditional -Wnested-externs"
- CXXFLAGSO="$CXXFLAGSO -fnonnull-objects"
+ CXXFLAGSG="$CXXFLAGSG -Wmissing-declarations -Wbad-function-cast -Wtraditional -Wnested-externs -Wno-non-template-friend"
+ CXXFLAGSO="$CXXFLAGSO -fnonnull-objects -Wno-non-template-friend"
;;
*)
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams