From: Mark M. <mie...@gm...> - 2007-12-30 16:44:36
|
On Dec 30, 2007 6:04 AM, Rick McGuire <obj...@gm...> wrote: > The Windows compiler has a /Wp64 option which helps identify 64-bit > portability concerns. I'm about to enable that option and go remove all of > the warnings from the Windows build. Is there a similar option that can be > turned on for gcc? It would be nice to get a second level of enforcement > going on the 64-bit issues. I've seen people recommend using lint to help when converting 32-bit code to 64-bit and wrote down these notes: "Lint can be useful in checking code written to compile in both 32-bit and 64-bit environment." -errchk=longptr64 -errchk=longptr64,signext -xarch=amd64 -- Mark Miesfeld |