help-gplusplus
[Top][All Lists]
Advanced

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

Re: help! complie error in gcc


From: Paul Pluzhnikov
Subject: Re: help! complie error in gcc
Date: Sat, 16 Sep 2006 06:53:33 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

chenjun.bj@gmail.com writes:

> i use cygwin

Please do not top-post.

> $ g++ -dumpversion
> 3.4.4

Also reproduces with 3.3.1.

The problem is that you are using symbols starting with an
underscore, but all such symbols are reserved for the compiler use.

In particular, cygwin /usr/include/ctype.h has:
  #define _L 02
which then horribly mangles your code.

Do "g++ -E -dD isort.cxx > isort.ii" and examine the result to see
what actually happens to it.
 
Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]