wrong header included in SUN Studio 11

Hello!

This is not really a problem, but may be.

Recently I have installed SUN Studio 11 and while trying my program I have

noticed that file include/CC/stlport4/config/stlcomp.h includes

config/stl_mycomp.h that I can't find anywhere.

Is it correct situation?

[301 byte] By [dima.ru] at [2007-11-26 8:22:19]
# 1

It's a correct situation. If you take a look at stlcomp.h you will see stl_mycomp.h is included when noone compiler/platform recognition macros is defined. When you use Sun C++ __SUNPRO_CC is always defined so the only necessary file is stl_sunpro.h.

If you get an error while compiler your code could you show small test case and compiler options to reproduce that error?

Atanasyan at 2007-7-6 21:30:12 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
Thanks. This is not an error.
dimaru at 2007-7-6 21:30:12 > top of Java-index,Development Tools,Solaris and Linux Development Tools...