Embarcadero Releases Free C++ Compiler for Windows

Re: Embarcadero Releases Free C++ Compiler for Windows

Postby Antonio Linares » Mon Aug 22, 2016 8:11 am

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
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Embarcadero Releases Free C++ Compiler for Windows

Postby Enrico Maria Giordano » Mon Aug 22, 2016 8:15 am

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8408
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Embarcadero Releases Free C++ Compiler for Windows

Postby Antonio Linares » Mon Aug 22, 2016 8:26 am

:(
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Embarcadero Releases Free C++ Compiler for Windows

Postby Antonio Linares » Mon Aug 22, 2016 8:27 am

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
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Embarcadero Releases Free C++ Compiler for Windows

Postby Enrico Maria Giordano » Mon Aug 22, 2016 8:45 am

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8408
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Embarcadero Releases Free C++ Compiler for Windows

Postby cnavarro » Mon Aug 22, 2016 3:18 pm

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: 6504
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Embarcadero Releases Free C++ Compiler for Windows

Postby Enrico Maria Giordano » Mon Aug 22, 2016 3:32 pm

Sorry, already tried (see page 2 of this thread).

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8408
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Embarcadero Releases Free C++ Compiler for Windows

Postby cnavarro » Mon Aug 22, 2016 3:59 pm

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


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
cnavarro
 
Posts: 6504
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Embarcadero Releases Free C++ Compiler for Windows

Postby Enrico Maria Giordano » Sun Aug 28, 2016 9:03 am

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8408
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 132 guests