Re: gcc best practices | problems
On Sat, 29 Oct 2005, -.JavaManiac.- wrote:
> if i have a package that doesn't compile against gcc-4.0,what are my
> choices??and what is the best ??,Build-Depends on gcc-3.4 or modify
> the sourcecode to make it clean to gcc-4.0??.
Make it clean for gcc-4.0. Code that does not work with gcc 4.0 belong in
two classes:
1. Illegal/broken/incorrect C constructs
2. gcc 4.0 bugs.
Almost all ocourrences of (2) have been fixed already, so you can safely go
with (1) unless you do know better. And (1) are bugs, and bugs should be
fixed.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
Reply to: