We could rename the Balloon3D DPRINTF to DPRINTF3D and the regular dprintf to DPRINTF. This seems to get the job done:
svn update ... cd platforms grep -rl DPRINTF . \ | egrep '(B3D|X11)' \ | grep -v '/.svn/' \ | tr '\n' '\000' \ | xargs -0 sed -i '' s/DPRINTF/DPRINTF3D/g grep -rl dprintf . \ | grep -v '/.svn/' \ | tr '\n' '\000' \ | xargs -0 sed -i '' s/dprintf/DPRINTF/g svn diff | less
This changes all platforms, but should not be a problem right? Anyone opposed?
- Bert -
On 13.08.2009, at 21:35, Bert Freudenberg wrote:
Ian,
would be good to have this fixed in the next release, too. It gets reported more often:
http://bugs.squeak.org/view.php?id=7331
- Bert -
On 25.06.2009, at 13:19, David T. Lewis wrote:
FYI for folks building VMs on Linux, the following is from the squeak-dev list. See the list archives for background.
Dave
----- Forwarded message from Casimiro de Almeida Barreto <casimiro.barreto@gmail.com
Date: Thu, 25 Jun 2009 00:16:06 -0300 From: Casimiro de Almeida Barreto casimiro.barreto@gmail.com To: The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org
Subject: [squeak-dev] Re: Problems building squeak VM (Fedora core 11) Precedence: list
Problem is Fedora rel 11 compiler is botched. Made a copy of /usr/include/stdio.h in $ROOT/platforms/unix/vm/ stdio.h Edited this file removing dprintf (starting line 399) Changed: #include <stdio.h> to: #include "stdio.h" whenever had problem.
in file debug.c included line #include <stdlib.h>
Dirty work. But fix things... :(
----- End forwarded message -----