[zypp-devel] Please watch gcc warnings..
![](https://seccdn.libravatar.org/avatar/93f26b0fb87f4be0df994e56a8e31107.jpg?s=120&d=mm&r=g)
No, it is not sufficient, that the code compiles. One benefit of cmake are easy to spot gcc warnings. So don't slack off and fix them, if you see them. warning: return type defaults to 'int' warning: no return statement in function returning non-void warning: control reaches end of non-void function warning: dereferencing type-punned pointer will break strict-aliasing rules gcc42 in stable --------------- I just installed the packages from /dist/install/stable-x86/ on my 10.2 without problems. Except for the fact, that zypp does not compile. Going to fix it. As there is some code that passes gcc41 but is rejected by gcc42, all developers should migrate ASAP. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/926abfa8eb8dab66c00070f582fc2b84.jpg?s=120&d=mm&r=g)
On Mon, Jun 18, 2007 at 10:23:08PM +0200, Michael Andres wrote:
gcc42 in stable --------------- I just installed the packages from /dist/install/stable-x86/ on my 10.2 without problems.
This has worked for me: # cd .../full-i386/suse/i586 # rpm -Uhv cpp.rpm gcc.rpm gcc-c++.rpm libstdc++-devel.rpm Do not get fooled by this, which also works, but gives you /usr/bin/g++-4.2 instead of /usr/bin/g++ # rpm -Uhv cpp42.rpm gcc42{,-c++}.rpm libgcc42.rpm libgomp42.rpm libmudflap42.rpm libstdc++42{,-devel}.rpm But... Now I get tons of errors, *including* ones inside libstdc++?? Like: /usr/include/c++/4.2.1/stdexcept:46: error: expected `=' before '__attribute__' -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/926abfa8eb8dab66c00070f582fc2b84.jpg?s=120&d=mm&r=g)
On Wed, Jun 20, 2007 at 07:01:24PM +0200, Martin Vidner wrote:
But... Now I get tons of errors, *including* ones inside libstdc++?? Like: /usr/include/c++/4.2.1/stdexcept:46: error: expected `=' before '__attribute__'
Problem goes away when not using Icecream. -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/926abfa8eb8dab66c00070f582fc2b84.jpg?s=120&d=mm&r=g)
On Thu, Jun 21, 2007 at 10:01:44AM +0200, Martin Vidner wrote:
On Wed, Jun 20, 2007 at 07:01:24PM +0200, Martin Vidner wrote:
But... Now I get tons of errors, *including* ones inside libstdc++?? Like: /usr/include/c++/4.2.1/stdexcept:46: error: expected `=' before '__attribute__'
Problem goes away when not using Icecream.
It works again now. Apparently it was "rcicecream restart" what helped. Sorry for the noise. -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Martin Vidner
-
Michael Andres