wxport

Pablo d'Angelo pablo.dangelo at web.de
Fri May 16 21:19:13 BST 2003


Hallo Kai-Uwe,

Kai-Uwe Behrmann schrieb am Freitag, den 16. Mai 2003:

> Am 16.05.03, 15:59 +0300 schrieb Juha Helminen:
> 
> > Hello,
> >
> >  > > > BCB do not manage to compile
> 
> #ifndef __BORLANDC__
> >  > > > extern "C" {
> #endif
> >  > > > #include <pano12/filter.h>
> #ifndef __BORLANDC__
> >  > > > }
> #endif
> .. as a suggestioni <- works for gcc.
> 
> Paolo, how can such macro variables like __BORLANDC__ or __cplusplus be
> viewed? Is there an compiler option for showing?

Hmm not that I know. but they are listed on:
http://gcc.gnu.org/onlinedocs/cpp/Predefined-Macros.html

> Can You with bcb compile following?:
> 
>  using namespace std;
>  #include <string>
> 
>  string a ("Hallo");
>  string b = a;

This should work with bcb. btw. the
using namespace std;

should come after all #include directives, because some
headers might not expect that the std namespace has been made global.

ciao
  Pablo
--
http://wurm.wohnheim.uni-ulm.de/~redman/
Please use PGP


More information about the ptX mailing list