I am using TAO and log4cpp in windows with MSVC 6.0.
There is a problem when I use TAO and log4cpp in the same project. Both projects do
typedef int mode_t;
this causes a compiler error.
Something like:
#ifndef MODE_T_EXISTS
typedef int mode_t;
#endif
would help, but I doubt it can be considered clean.
Any ideas ? How is it done in other projects ?
TAO inconditionally defines mode_t.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using TAO and log4cpp in windows with MSVC 6.0.
There is a problem when I use TAO and log4cpp in the same project. Both projects do
typedef int mode_t;
this causes a compiler error.
Something like:
#ifndef MODE_T_EXISTS
typedef int mode_t;
#endif
would help, but I doubt it can be considered clean.
Any ideas ? How is it done in other projects ?
TAO inconditionally defines mode_t.