On Fri, 2 Mar 2001, Maurice Lombardi wrote:
Mariano Alvarez Fernandez a écrit :
pavenis@lanet.lv escribió:
gcc-2.95.X assumes definitions of strlen(), memcpy() and some other functions even in absence of prototypes. It's no more so with current development version of gcc-3.0. Patch adds needed includes to avoid some related warnings (I tried to build grx-2.3.4 for X11 under Linux with gcc-3.0 20010301 (prerelease)).
Problems: gccbgi crashes when I have 32 bpp. It seems to work with 16 bpp. Perhaps I should recheck with gcc-2.95.2
It's not necesary, gccbgi doesn't work with 32 bpp even with 2.3.1, I think is a bgilib problem.
32 bpp works on djgpp v2. But may be you are speaking of the Linux versions ?
It's so, I tested with gcc-3.0 prerelease under Linux only (XFree86 4.0.2). Anyway I'm getting crash earlier when gcc-3.0 prerelease is being used rather than with gcc-2.95.2 (32bpp mode). So I suspect I have some problem with gcc-3.0 prerelease. Changing to -O2 and removing -fomit-frame-pointer makes binary to crash at the same place where one compiled with gcc-2.95.2
Andris