Public bug reported:

Compiling a C++ source with g++ 4.3.3 on jaunty that includes rexxsaa.h from 
Regina REXX results in:
/usr/include/regina/rexxsaa.h:866: error: '<anonymous>' has incomplete type     
                                    
/usr/include/regina/rexxsaa.h:866: error: invalid use of 'VOID'

Following patch fixes the compile problem:

-- rexxsaa.h   2009-02-07 21:34:41.000000000 +0100
+++ /usr/include/regina/rexxsaa.h       2007-10-31 11:08:50.000000000 +0100
@@ -863,7 +863,7 @@
  * It is allowed to reuse every API function after this call but this routine
  * must not be used when some parts of the Regina core are in use.
  */
-APIRET APIENTRY ReginaCleanup()
+APIRET APIENTRY ReginaCleanup( VOID )
 EXTNAME("ReginaCleanup");
 #define REGINACLEANUP ReginaCleanup

** Affects: regina (Ubuntu)
     Importance: Undecided
         Status: New

-- 
rexxsaa.h not usable from C++
https://bugs.launchpad.net/bugs/326672
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to