[Freeciv-Dev] Re: compile errors on bitvector code with Sun cc (PR#2046)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, 27 Sep 2002, Jason Short wrote:
> The problem is Sun CC, at least, doesn't support variadic macros
> (variable options in macros).For freelog there's an "#ifdef __GNUC__"
> check, with a static function declared in the header for other compilers.
> As I understand it, the reason it's important to have this code be
> macros/inlined is that there are a LOT of freelog calls throughout the
> code, and most of them can be optimized away
The problem itself can be optimized away. Since all developers use gcc,
and only developers watch these log messages, we can add gcc to the list
of development tools that are needed to program for freeciv, and #ifdef
__GNUC__ the macros. You will need the rest of the GNU toolchain
(automake, autoconf, gettext, etc) in order to build from cvs anyway.
- Per
|
|