User forums > Help
MinGW with STLport
stahta01:
Installed STLport-5.1.0 and it also worked.
Tim S
-------------- Build: Release in helloworld ---------------
mingw32-g++.exe -Wall -O2 -mthreads -IC:\apps\MinGW_GCC_3.4.5_API_3_8_STLport\STLport-5.1.0\stlport -IC:\apps\MinGW_GCC_3.4.5_API_3_8_STLport\include -c C:\CodeProjects\CodeBlocksProjects\CodeBlocks\CB_SVN_TEST\codeblocks-head-test\codeblocks\src\tests\STLport\helloworld\helloworld.cpp -o obj\Release\helloworld.o
C:/apps/MinGW_GCC_3.4.5_API_3_8_STLport/STLport-5.1.0/stlport/stl/_uninitialized.h: In member function `void stlp_std::vector<_Tp, _Alloc>::_M_insert_overflow_aux(_Tp*, const _Tp&, const stlp_std::__false_type&, size_t, bool) [with _Tp = stlp_std::string, _Alloc = stlp_std::allocator<stlp_std::string>]':
C:/apps/MinGW_GCC_3.4.5_API_3_8_STLport/STLport-5.1.0/stlport/stl/_uninitialized.h:247: warning: '__cur' might be used uninitialized in this function
mingw32-g++.exe -LC:\apps\MinGW_GCC_3.4.5_API_3_8_STLport\STLport-5.1.0\lib -LC:\apps\MinGW_GCC_3.4.5_API_3_8_STLport\lib -o bin\Release\helloworld.exe obj\Release\helloworld.o -s -lstlport.5.1.dll
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 1 warnings
stahta01:
I used MSys to build the libs and I used the commands below to compile the libs.
From the README file steps for GNU Make (Linux, OpenBSD, FreeBSD, CygWin, etc.), with gcc:
make -f gcc.mak depend
make -f gcc.mak install
Note, STLport-5.0.3 seems to work better than STLport-5.1.0.
Navigation
[0] Message Index
[*] Previous page
Go to full version