Hi debian ada team! ,

First of all I'm not familar with debian bug tracking system (sorry about that). I hit the same issue as described in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713297 while building polyorb for fedora (with gcc 4.8).

The patch [1] fixed issue for me and it was accepted by Adacore. Feel free to use one :)

--
Pavel

[1]
--- a/configure 2014-01-27 23:38:14.944966528 +0100
+++ b/configure 2014-01-27 23:38:28.841024943 +0100
@@ -5641,7 +5641,7 @@
   case "$CXXCPP" in
     *g++*)
       if test "${CXXCPPFLAGS}" = ""; then
-        IDLCPPFLAGS="-x c++ -ansi"
+        IDLCPPFLAGS="-x c++ -ansi -ffreestanding"
         # Options to use GNU C++ preprocessor as IDL preprocessor
         # -x c++       force C++ preprocessor mode (even though it cannot be
         #              inferred from filename extension .idl)
--- a/support/idlcpp.m4 2014-01-27 23:37:44.230837412 +0100
+++ b/support/idlcpp.m4 2014-01-27 23:38:04.278921691 +0100
@@ -38,7 +38,7 @@
   case "$CXXCPP" in
     *g++*)
       if test "${CXXCPPFLAGS}" = ""; then
-        IDLCPPFLAGS="-x c++ -ansi"
+        IDLCPPFLAGS="-x c++ -ansi -ffreestanding"
         # Options to use GNU C++ preprocessor as IDL preprocessor
         # -x c++       force C++ preprocessor mode (even though it cannot be
         #              inferred from filename extension .idl)



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/20140128175639.horde.2yi2lxwvuo3ylw3buhol...@webmail.your-server.de

Reply via email to