Hi If your compiler is that old btw, then it may help to poke at the list below and see what else you need to update: http://code.google.com/p/chromium/wiki/LinuxBuildInstructionsPrerequisites
Hopefully all those warnings will go away with something a bit more modern ... --Craig On Mon, Jul 13, 2009 at 7:43 AM, lawrence sue<xueyunl...@gmail.com> wrote: > > Thanks, my gcc version is out. I need update it. > chrome[24-18:18:59]/home/chrome/src/base>gcc --version > gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44) > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There > is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > > > On Jul 13, 1:18 pm, Evan Martin <e...@chromium.org> wrote: >> On Sun, Jul 12, 2009 at 8:38 PM, empriser<xueyunl...@gmail.com> wrote: >> > third_party/dmg_fp/dtoa.cc: In function 'void dmg_fp::hexnan >> > (dmg_fp::U*, const char**)': >> > third_party/dmg_fp/dtoa.cc:1558: warning: array subscript has type >> > 'char' >> >> The line in question is: >> if (!hexdig['0']) >> So yes, the warning is correct. What compiler are you using? I am >> curious why this hasn't affected us already. >> >> It looks like we've already patched around some warnings in this code, >> so maybe we need to do more of >> that.http://src.chromium.org/viewvc/chrome/trunk/src/base/third_party/dmg_... >> >> (BTW, I also looked into whether our copy of this file is old, but we >> match the newest version linked from the author's home page.) > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---