------- Comment #2 from redi at gcc dot gnu dot org 2010-08-15 19:38 ------- I don't think adding -std=posix is the right solution, since dlsym needs to be usable if users choose other options such as -std=c++0x or -std=gnu99
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45289