Re: "syntax error before `[' token" compilation error with gcc/g++ 3.0.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Apr  1, 2004, "azerty qwerty" <azerty_qwerty_75@xxxxxxxxxxx> wrote:

> I tried to compile a c/c++ file with gcc/g++ 3.0.4 but got this syntax
> error.

My first guess would be that you have to replace occurrences of `<:'
with `< :' in that file.  `<:' is an alternate spelling for `['.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux