"__stl_new" must have a prototype

Hello,

I am gettig an error as shown below while compiling using Sun C++ 5.8 compilation,

"/temp5/SUNWspro/prod/include/CC/stlport4/stl/_alloc.h", line 134: Error: The function "__stl_new" must have a prototype.
"/temp5/SUNWspro/prod/include/CC/stlport4/stl/_alloc.h", line 135: Error: The function "__stl_delete" must have a prototype.
"

There is no display of source file line number with error description. Due to this i do not know what should i change in the source file.

Do i need to define any variable (for eg., -D_STLP_MEMBER_TEMPLATE_CLASSES) during (CC)compilation ?

when i open _alloc.h file, there is a comment written as
"
/* NOTE: This is an internal header file, included by other STL headers.

  • You should not attempt to use it directly.
    */
    "

Any ideas on this front.

Shafi

While compiling what?

while compling C++ files on Solaris 10 using Sun 5.8 C++ complier