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.
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.