Mailinglist Archive: zypp-devel (116 mails)

< Previous Next >
[zypp-devel] Please watch gcc warnings..
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Mon, 18 Jun 2007 22:23:08 +0200
  • Message-id: <20070618202308.GA4236@xxxxxxx>

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@xxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups