mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Do not compile code with -pedantic by default, since eFLTK code will fail on it.
Pass checks for FLTK 1.1.10 and FLTK 1.3.x branch
This commit is contained in:
parent
a800bb3255
commit
4725018886
@ -69,9 +69,9 @@ if $(SUN_COMPILER) {
|
|||||||
} else {
|
} else {
|
||||||
# gcc assumed
|
# gcc assumed
|
||||||
WALL ?= "-Wall" ;
|
WALL ?= "-Wall" ;
|
||||||
# some C libraries have issues with C++ when given '-pedantic' flag, so
|
# by default we do not use -pedantic; programs that use C libraries (HAL older versions) and eFLTK will fail
|
||||||
# setting 'jam -sPEDANTIC=""' will allow compilation
|
# to compile with it
|
||||||
PEDANTIC ?= "-pedantic" ;
|
PEDANTIC ?= ;
|
||||||
WNO_LONG_LONG ?= "-Wno-long-long" ;
|
WNO_LONG_LONG ?= "-Wno-long-long" ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -148,7 +148,14 @@ if test -n "$FLTK_CONFIG"; then
|
|||||||
case "$fltk_version" in ["1.1."[789]])
|
case "$fltk_version" in ["1.1."[789]])
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
;;
|
;;
|
||||||
*)
|
["1.1.10"])
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
;;
|
||||||
|
dnl check for FLTK 1.3.x branch
|
||||||
|
["1.3."[01]])
|
||||||
|
AC_MSG_RESULT([yes... Looks like you have unstable FLTK branch ($fltk_version). EDE is not well tested with these FLTK versions])
|
||||||
|
;;
|
||||||
|
*)
|
||||||
AC_MSG_ERROR([Looks like you have an older FLTK version ($fltk_version). Required is >= 1.1.7])
|
AC_MSG_ERROR([Looks like you have an older FLTK version ($fltk_version). Required is >= 1.1.7])
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user