Embarcadero Releases Free C++ Compiler for Windows
- Antonio Linares
- Site Admin
- Posts: 42529
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 77 times
- Contact:
Re: Embarcadero Releases Free C++ Compiler for Windows
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
#ifdef _MSC_VER
#pragma region
#endif
<code here>
#ifdef _MSC_VER
#pragma endregion
#endif
- Enrico Maria Giordano
- Posts: 8753
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 4 times
- Contact:
Re: Embarcadero Releases Free C++ Compiler for Windows
There are 1386 include files containing #pragma region... 
EMG

EMG
- Antonio Linares
- Site Admin
- Posts: 42529
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 77 times
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42529
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 77 times
- Contact:
Re: Embarcadero Releases Free C++ Compiler for Windows
With UEStudio we can do a global search and replace in files
Maybe thats an option
Maybe thats an option
- Enrico Maria Giordano
- Posts: 8753
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 4 times
- Contact:
Re: Embarcadero Releases Free C++ Compiler for Windows
I don't think it's a good idea to alter the compiler files.
EMG
EMG
Re: Embarcadero Releases Free C++ Compiler for Windows
To see if it helps
Also for 7.20 version

Also for 7.20 version

Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
- Enrico Maria Giordano
- Posts: 8753
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 4 times
- Contact:
Re: Embarcadero Releases Free C++ Compiler for Windows
Sorry, already tried (see page 2 of this thread).
EMG
EMG
Re: Embarcadero Releases Free C++ Compiler for Windows
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
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
Ah!, ok, I had not seen it -wpun
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
- Enrico Maria Giordano
- Posts: 8753
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 4 times
- Contact:
Re: Embarcadero Releases Free C++ Compiler for Windows
I'm about to give up. It looks like this compiler is not full ready yet.
EMG
EMG