[prev in list] [next in list] [prev in thread] [next in thread]
List: gccxml
Subject: Re: [GCC-XML]Wrong output in version 0.4.1?
From: Nicodemus <nicodemus () globalite ! com ! br>
Date: 2003-02-23 1:36:46
Message-ID: 3E5825AE.9000409 () globalite ! com ! br
[Download RAW message or body]
Brad King wrote:
>>]set GCCXML_USER_FLAGS=-ID:\Programming\Libraries\STLport-4.5.3\stlport
>>
>
>GCCXML_USER_FLAGS is only provided as a way for users to experiment with
>simulating new compilers. It can be used to add -ffoo or -Wbar flags to
>control GCC's behavior. To add an include path, just add the -I to the
>gccxml command line:
>
>gccxml test.cxx -fxml=test.xml -ID:/Programming/...
>
>Note also the use of forward slashes. GCC is a unix tool, and it may be
>treating the backslashes as escape sequences.
>
Thanks for the reply Brad, but it still doesn't work:
] cl /c /Tp test.h -ID:/Programming/Libraries/STLport-4.5.3/stlport
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for
80x86
> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
>
> test.h
] gccxml test.h
-fxml=test.xml -ID:/Programming/Libraries/STLport-4.5.3/stlport
> test.h: In function `void x()':
> test.h:49: `max' undeclared in namespace `std'
> test.h:50: `min' undeclared in namespace `std'
With test.h being:
#include <algorithm>
void x()
{
std::max(3,4);
std::min(3,4);
}
Any other idea of what can be wrong? Thanks again for your time.
Nicodemus.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic