Emerald Editor Discussion
March 25, 2017, 02:57:07 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Compilers  (Read 3555 times)
0 Members and 1 Guest are viewing this topic.
daemon
Developers
Gem Cutter
***
Posts: 107


WWW
« on: June 01, 2006, 07:13:44 am »

In almost all of the EE files, there's these macros that exist:

Code:
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "steshell.h"
#endif

#ifdef __BORLANDC__
#pragma hdrstop
#endif

Do we need these? Are we only using the GCC to compile? If you're not using Borland's compiler, then we can remove the second one safely. For the first one, however, can you check wxconfig --cflags to see if it outputs "-DNO_GCC_PRAGMA"?
Logged
awmyhr
Senior Miner
***
Posts: 95

Maintainer of Obscure and Unused Ports


WWW
« Reply #1 on: June 01, 2006, 12:23:26 pm »

Does the Borland pragma cause any issues?  currently we may all use gcc, but are we ready to make that a requirement?
Logged

-->>  This Space 4 Rent  <<--
Arantor
Site Administrator
Administrator
Master Jeweller
*****
Posts: 618



« Reply #2 on: June 01, 2006, 05:20:44 pm »

Well, it may do in the future, and I'd rather not restrict the source in any way.

Any "official" builds we produce will almost be done via GCC (either Windows, Mac OS X, Linux etc) so it won't matter there, but Borland C is quite popular (especially since BuilderX appears to have been made free in the past)
Logged

"Cleverly disguised as a responsible adult!"
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.116 seconds with 18 queries.