Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

More problem with <vector> 1

Status
Not open for further replies.

Lim

Programmer
Aug 15, 2000
192
US
I have a problem with <vector>.
I am compiling source for Nt (MS VC++); SGI, SUN, HP (GCC).

I have found that <vector> has a different definition on SGI and NT (there is no .at on SGI and some protected function have a different name), but this is not a big problem I have found workaround for this. Whant really is the problem I can not use /Za (ANSI restriction) switch with MC VC++. MS <vector> lead to compiler errors.

My questions:
1) If MS STL is ANSI C++ compatible, what I am doing wrong?
2) If it is not and if <vector> is just a template Is there platform independant ANSI compatible source for this templates?
3) What is your suggestion?
Thank you.
 
FYI:
There still isn't a single compiler that is %100 compliant to the standard.

B
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top