http://stackoverflow.com/questions/12894454/how-to-remove-gcc-warning-on-pragma-region
#ifdef _MSC_VER
#pragma region
#endif
<code here>
#ifdef _MSC_VER
#pragma endregion
#endif
Enrico Maria Giordano wrote:Enrico Maria Giordano wrote:I'm trying to compile xHarbour with the new compiler. First problem, I get:
- Code: Select all Expand view
e:\fw\bcc101\include\windows\sdk\windows.h:42:9: warning: unknown pragma ignored [-Wunknown-pragmas]
#pragma region Application Family or OneCore Family
Any ideas?
EMG
I tried using -w-pun compiler switch to no avail...
EMG
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 71 guests