Index: [thread] [date] [subject] [author]
  From: WHS <wouters@cistron.nl>
  To  : ggi <ggi-develop@eskimo.com>
  Date: Thu, 06 Aug 1998 16:54:39 +0200

header files export debug defs

When compiling some GGI stuff:

        In file included from /usr/local/include/ggi/types.h:25,
                         from /usr/local/include/ggi/ggi.h:29,
                         from src/ggi_framebuf.hh:21,
                         from src/ggi_framebuf.cc:30:
        /usr/local/include/ggi/debug.h:209: warning: `ASSERT' redefined
        src/debug.h:43: warning: this is the location of the previous
definition

src/debug.h is my own debug file which also contains ASSERT.

None of the public ggi include files should include <ggi/debug.h> as
these definitions are totally irrelevant for applications.
This should only be included directly in any source file that needs it.

The only non kernel file in degas that uses it seems to be:
        lib/libggi/display/suidkgi/suidbridge.c


btw, in types.h I see:

#if defined(__i386) || defined(__alpha)
#define GGI_LITTLE_ENDIAN       1
#elif defined(ADD_ARCHS_HERE)
#define GGI_BIG_ENDIAN          1
#else
#error Unknown endianess, please check ggi/types.h!
#endif

What's __alpha? _the_ alpha ? if so this is wrong.

Wouter

Index: [thread] [date] [subject] [author]