Subj : Re: list.h To : borland.public.cpp.borlandcpp From : "Kristo" Date : Wed Aug 13 2003 05:09 am Nope, that's not the case. Project settings haven't been changed. Only the compiler has been reinstalled... And yes, all of the extensions are .cpp. "Wayne A. King" wrote in message news:3f39323e.6850355@newsgroups.borland.com... > On Tue, 12 Aug 2003 16:15:32 +0300, "Kristo" wrote: > > >why are standard library headers (I mostly only use list.h, vector.h) not > >compiling. Instead they're producing per-function "Declaration syntax > >error"'s. > > Are you sure you're compiling as C++? If your program module > doesn't have an extension of .CPP, and you haven't set the option > to always compile as C++, then it will be built as a C program > and you will get declaration syntax errors from the STL headers. > > -- > Wayne A. King > (ba994@torfree.net, wayne.king@ablelink.org, > waking@idirect.com, Wayne_A_King@compuserve.com) .