43 15srwtest lrwtest15s pthreads lbuildseborgcc 343

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: `global namespace'' c:\build\nicoara\hal\include\ansi\cerrno(77) : error C2873: 'errno' : symbol can not be used in a using-declaration c:\build\nicoara\hal\source\tools\t.cpp(4) : error C2065: 'errno' : undeclared identifier NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2' Stop. Liviu std::string::operator+=(char) not thread-safe Discovered with SunPro 5.7 and reproducible also with SunPro 5.6 and gcc 3.4.3 but only on Solaris 10. $ cat t.cpp && nice gmake t && ./t #include <assert.h> #include <pthread.h> #include <string> const std::string str ("0123456789"); const std::string expect = str + '*'; extern "C" void* thread_func (void*) { for (int i = 0; i < 100000; ++i) { std::string s (str); s += '*'; assert (s == expect); } return 0; } int main () { pthread_t tid [4]; unsigned i = 0; for (i = 0; i != sizeof tid / sizeof *tid; ++i) { if (pthread_create (tid + i, 0, thread_func, (void*)0)) return 1; } for (i = 0; i != sizeof tid / sizeof *tid; ++i) { if (pthread_join (tid [i], 0)) return 2; } } CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/build/sebor/sunpro-5.7.j4-15s/include -I/build/sebor/dev/stdlib/include -I/build/sebor/dev/stdlib/examples/include -library=%none -g +w t.cpp CC t.o -o t -library=%none -L/build/sebor/sunpro-5.7.j4-15s/lib -mt -L/build/sebor/sunpro-5.7.j4-15s/lib -lstd15s -lm Assertion failed: s == expect, file t.cpp, line 13 Assertion failed: s == expect, file t.cpp, line 13 Assertion failed: s == expect, file t.cpp, line 13 Abort (core dumped) app client builder uses config-store in a way inconsistent with the packaging plugin the app client builder calls install on the config-store it knows about. However, the config store the packaging plugin uses is read-only. Thus it is currently impossible to deploy an app client using the packagin plugin. This is a problem for e.g. daytrader. std::fill_n() assumes Size can be decremented The requiremen...
View Full Document

Ask a homework question - tutors are online