This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Thank you , i migrated to "-ansi -pedantic -std=c++11 -std=c++98" but get the following warning: warning: converting from âvoid (NetworkSocket::*)()â to âvoid* (*)(void*)â [-pedantic] my line is: if (pthread_create(threadArray, NULL, (void*(*)(void*)) &NetworkSocket::threadTest , this) != 0) Do you have any idea that i dont prevent to above warning? --mohsen On Thu, 2012-07-12 at 17:50 +0100, Jonathan Wakely wrote: > On 12 July 2012 17:43, Mohsen Pahlevanzadeh wrote: > > What's replacement of typeof as standard? > > decltype, but it's only available in C++11 and -ansi implies -std=c++98
Attachment:
signature.asc
Description: This is a digitally signed message part
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |