Embarcadero Releases Free C++ Compiler for Windows

User avatar
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

Post by Antonio Linares »

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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
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

Post by Enrico Maria Giordano »

There are 1386 include files containing #pragma region... :-(

EMG
User avatar
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

Post by Antonio Linares »

:(
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
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

Post by Antonio Linares »

With UEStudio we can do a global search and replace in files

Maybe thats an option
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
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

Post by Enrico Maria Giordano »

I don't think it's a good idea to alter the compiler files.

EMG
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Embarcadero Releases Free C++ Compiler for Windows

Post by cnavarro »

To see if it helps
Also for 7.20 version
Image
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
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Embarcadero Releases Free C++ Compiler for Windows

Post by cnavarro »

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
User avatar
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

Post by Enrico Maria Giordano »

I'm about to give up. It looks like this compiler is not full ready yet.

EMG
Post Reply