On Fri, Oct 23, 2009 at 09:58:55PM +0800, Zhang Lin wrote:
> Hello,
> I have encountered an issue when building ACE with MinGW and GCC 4.4.1
> The following macro was not accepted by the preprocessor and it reported such
> an error: "error: operator '==' has no left operand".
>
> #if !defined (AC
On Fri, Oct 23, 2009 at 9:35 AM, Zhang Lin wrote:
> Sorry, maybe my representation is not quite clear.
> I mean that I didn't define ACE_HAS_NONSTATIC_OBJECT_MANAGER at all, so the
> preprocesser should not process "#elif (ACE_HAS_NONSTATIC_OBJECT_MANAGER ==
> 0)", the following simple cpp can
v[])
> {
> return 0;
> }
> ==
>
> the compile command is:
> gcc -Wall -o "Test.exe" "Test.cpp" -lstdc++ -s
>
> and the error message is:
> Test.cpp:3:41: error: operator '==' has no left operand
>
>
> - Original Message
command is:
gcc -Wall -o "Test.exe" "Test.cpp" -lstdc++ -s
and the error message is:
Test.cpp:3:41: error: operator '==' has no left operand
- Original Message -
From: "John Graham"
To:
Sent: Friday, October 23, 2009 10:03 PM
Subject: Re: Why does
2009/10/23 Zhang Lin :
> Hello,
> I have encountered an issue when building ACE with MinGW and GCC 4.4.1
> The following macro was not accepted by the preprocessor and it reported such
> an error: "error: operator '==' has no left operand".
>
> #if !defined (ACE_HAS_NONSTATIC_OBJECT_MANAGER)
> # d
Hello,
I have encountered an issue when building ACE with MinGW and GCC 4.4.1
The following macro was not accepted by the preprocessor and it reported such
an error: "error: operator '==' has no left operand".
#if !defined (ACE_HAS_NONSTATIC_OBJECT_MANAGER)
# define ACE_HAS_NONSTATIC_OBJECT_MANAG
drizzle drizzle wrote:
Any developer sense on what it might take to extend the gcc
preprocessor to do these ? I have some experience with gcc front end.
I am especially keen abt multiline macros, so that the lines can be on
separate lines. Any neat trick that can accomplish this by using
#define
drizzle drizzle wrote:
Any developer sense on what it might take to extend the gcc
preprocessor to do these ? I have some experience with gcc front end.
I am especially keen abt multiline macros, so that the lines can be on
separate lines. Any neat trick that can accomplish this by using
#define
Any developer sense on what it might take to extend the gcc
preprocessor to do these ? I have some experience with gcc front end.
I am especially keen abt multiline macros, so that the lines can be on
separate lines. Any neat trick that can accomplish this by using
#define ?
dz
On 4/20/07, Joe
On Fri, Apr 20, 2007 at 01:27:48PM -0400, drizzle drizzle wrote:
> Ok can you tell me what directives does it provide to do what I
> have said . And I am not a beginner to gcc.
The answer is that gcc provides what the C standard specifies and nothing
more. You appear to want a more complica
On 20 April 2007 18:28, drizzle drizzle wrote:
> Ok can you tell me what directives does it provide to do what I
> have said . And I am not a beginner to gcc.
Then you should have RTFMd by now.
cheers,
DaveK
--
Can't think of a witty .sigline today
<[EMAIL PROTECTED]> wrote:
On Wed, Apr 18, 2007 at 09:07:07PM -0400, drizzle drizzle wrote:
> Can some one tell me if gcc preprocessor can support in some way
> the following
> features
You are asking a beginner C programming question. gcc's preprocessor
does what standard C preprocessors do.
On Wed, Apr 18, 2007 at 09:07:07PM -0400, drizzle drizzle wrote:
> Can some one tell me if gcc preprocessor can support in some way
> the following
> features
You are asking a beginner C programming question. gcc's preprocessor
does what standard C preprocessors do.
Hi
Can some one tell me if gcc preprocessor can support in some way
the following
features
1. Repeating a block a certain number of times
2. Multiline macros with new lines
3. Setting a symbolic constant inside a #define
thanks
dz
14 matches
Mail list logo