Package: aspectc++ Version: 0.99+1.0pre2-4 Severity: important Your package fails to build with G++ 4.1. I'm filing this bug as important for now, but when 4.1 will be the default compiler in unstable (probably in a few weeks) I'll upgrade this to serious.
> Automatic build of aspectc++_0.99+1.0pre2-4 on bigsur by sbuild/mips 1.106 ... > Making tools... > lemon.c: In function 'Action_new': > lemon.c:357: warning: incompatible implicit declaration of built-in function > 'exit' > lemon.c: In function 'myassert': > lemon.c:417: warning: incompatible implicit declaration of built-in function > 'exit' > lemon.c: In function 'newconfig': > lemon.c:891: warning: incompatible implicit declaration of built-in function > 'exit' > lemon.c: In function 'memory_error': > lemon.c:1161: warning: incompatible implicit declaration of built-in function > 'exit' > lemon.c: In function 'main': > lemon.c:1197: warning: incompatible implicit declaration of built-in function > 'exit' > lemon.c:1206: warning: incompatible implicit declaration of built-in function > 'exit' > lemon.c:1233: warning: incompatible implicit declaration of built-in function > 'exit' > lemon.c: In function 'myoptinit': > lemon.c:1628: warning: incompatible implicit declaration of built-in function > 'exit' > lemon.c: In function 'Plink_new': > lemon.c:2262: warning: incompatible implicit declaration of built-in function > 'exit' > lemon.c: In function 'file_makename': > lemon.c:2331: warning: incompatible implicit declaration of built-in function > 'exit' > lemon.c: In function 'print_stack_union': > lemon.c:2861: warning: incompatible implicit declaration of built-in function > 'exit' > lemon.c:2904: warning: incompatible implicit declaration of built-in function > 'exit' > automaton.h:116: error: extra qualification 'Automaton::' on member > 'ScanStates' > automaton.h:117: error: extra qualification 'Automaton::' on member > 'NextState' > make[3]: *** [orange.o] Error 1 This one's easy: --- ./Puma/tools/orange/automaton.h~ 2006-03-20 05:27:08.000000000 +0000 +++ ./Puma/tools/orange/automaton.h 2006-03-20 05:27:16.000000000 +0000 @@ -113,8 +113,8 @@ State* AddState (void); void RemoveState (State* State); void ShiftState (Automaton& From, State* State); - void Automaton::ScanStates (ListEntry*& Context); - State* Automaton::NextState (ListEntry*& Context); + void ScanStates (ListEntry*& Context); + State* NextState (ListEntry*& Context); void Print (void); }; But then I get: Compiling ExtACTree.cc... /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/PtrStack.h: In member function ‘void Puma::PtrStack<T>::Destroy() [with T = Puma::CTree]’: /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/Builder.h:97: instantiated from here /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/PtrStack.h:152: error: invalid conversion from ‘long int’ to ‘const char*’ /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/PtrStack.h:152: error: initializing argument 1 of ‘int remove(const char*)’ /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/PtrStack.h: In member function ‘void Puma::PtrStack<T>::Remove() [with T = Puma::CTree]’: /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/PtrStack.h:144: instantiated from ‘void Puma::PtrStack<T>::Reject() [with T = Puma::CTree]’ /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/Builder.h:96: instantiated from here /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/PtrStack.h:159: error: invalid conversion from ‘long int’ to ‘const char*’ /var/scratch/packages/aspectc++-0.99+1.0pre2-baustelle/Puma/gen-release/step1/inc/Puma/PtrStack.h:159: error: initializing argument 1 of ‘int remove(const char*)’ make[3]: *** [/home/tbm/src/aspectc++-0.99+1.0pre2/Puma/gen-release/obj-linux/ExtACTree.o] Error 1 make[2]: *** [step3] Error 2 -- Martin Michlmayr http://www.cyrius.com/