Re: [AD] allegro failing to compile with dmalloc and gnu extensions enabled

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On June 15, 2007, Elias Pschernig wrote:
> On Wed, 2007-06-06 at 22:03 -0600, Thomas Fjellstrom wrote:
> > On June 6, 2007, Thomas Fjellstrom wrote:
> > > If you attempt to compile allegro with dmalloc support, and define
> > > _GNU_SOURCE/__GNU_SOURCE, it'll cause allegro to fail to build, due to
> > > including dmalloc.h before string.h.
> > >
> > > It apparently only happens when gnu extensions are enabled.
> > >
> > > Attached a couple patches, and can apply then if necessary.
> >
> > I should say, 'waiting' from #allegro reported and diagnosed the issue.
> > Credit goes to him.
> >
> > Just got his real info:
> >
> > Tilman Kranz <tilde@xxxxxxxxxx>
> > website: tk-sls.de
>
> I don't know anything about this myself, and the patches look completely
> harmless, so I'd say, apply them.

Can I use this thread as a staging ground for my hatred of sourceforge? I mean 
really.

take a look at the attached log. At which point did it actually succeed to 
apply the changes?

> --
> Elias Pschernig <elias@xxxxxxxxxx>
>

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx
moose@xxxxxxxxxx$ svn ci -m 'waiting (aka: Tilman Kranz <tilde@xxxxxxxxxx>, website: tk-sls.de) fixed compiling with 
dmalloc and GNU extensions enabled.'
Sending        include/allegro/base.h
Transmitting file data .svn: Commit failed (details follow):
svn: MERGE request failed on '/svnroot/alleg/allegro/branches/4.9/include/allegro'
svn: MERGE of '/svnroot/alleg/allegro/branches/4.9/include/allegro': 200 OK (https://alleg.svn.sourceforge.net)
moose@xxxxxxxxxx$ svn diff
Index: include/allegro/base.h
===================================================================
--- include/allegro/base.h      (revision 7905)
+++ include/allegro/base.h      (working copy)
@@ -26,6 +26,7 @@
    #include <stddef.h>
    #include <stdlib.h>
    #include <time.h>
+   #include <string.h>
 #endif

 #if (defined DEBUGMODE) && (defined FORTIFY)
moose@xxxxxxxxxx$ svn ci -m 'waiting (aka: Tilman Kranz <tilde@xxxxxxxxxx>, website: tk-sls.de) fixed compiling with 
dmalloc and GNU extensions enabled.'
Sending        include/allegro/base.h
svn: Commit failed (details follow):
svn: Your file or directory 'base.h' is probably out-of-date
svn: The version resource does not correspond to the resource within the transaction.  Either the requested version resource is out of date (needs 
to be updated), or the requested version resource is newer than the transaction root (restart the commit).
moose@xxxxxxxxxx$ svn ci -m 'waiting (aka: Tilman Kranz <tilde@xxxxxxxxxx>, website: tk-sls.de) fixed compiling with 
dmalloc and GNU extensions enabled.' --username strangemoose
Sending        include/allegro/base.h
svn: Commit failed (details follow):
svn: Your file or directory 'base.h' is probably out-of-date
svn: The version resource does not correspond to the resource within the transaction.  Either the requested version resource is out of date (needs 
to be updated), or the requested version resource is newer than the transaction root (restart the commit).
moose@xxxxxxxxxx$ svn up
U    src/events.c
U    src/win/wgdi.c
G    include/allegro/base.h
U    examples/exzbuf.c
U    examples/exunicod.c
Updated to revision 7929.
moose@xxxxxxxxxx$ svn diff
(nothing)
moose@xxxxxxxxxx$ svn log
------------------------------------------------------------------------
r7929 | strangemoose | 2007-06-15 08:57:35 -0600 (Fri, 15 Jun 2007) | 1 line

waiting (aka: Tilman Kranz <tilde@xxxxxxxxxx>, website: tk-sls.de) fixed compiling with dmalloc and GNU extensions enabled.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/