categories and standard/system error codes

I have to admit to a bit of surprise at the confusion regarding <system_error> given Chris summarised exactly how it works at http://blog.think-async.com/2010/04/system-error-support-in-c0x-part-1.html and I personally find the C++ standard text above perfectly clear. But to summarise in very succinct words: If on POSIX: generic_category => POSIX standard errno space system_category => Local POSIX errno … Read more

What causes runtime error message: std::system_error – operation not permitted, including mult-threading? [duplicate]

You are not linking pthread properly, try below command(note: order matters) g++ main.cpp -o main.out -pthread -std=c++11 OR Do it with two commands g++ -c main.cpp -pthread -std=c++11 // generate target object file g++ main.o -o main.out -pthread -std=c++11 // link to target binary

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)