🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87664

Buglet, 19.26, (?) in gmalloc.c, Sparc,Solaris 2.3

#87664
From: Anthony Rossini
Date: Thu, 08 Sep 1994 16:09
37 lines
2220 bytes
Bug: I could not get gmalloc.c to compile with gcc-2.6.0 on a
sun-sparc-solaris2.3  machine, X11R6.

Error:

gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/vol/inetsw/src/editors/emacs-19.26/src   -traditional    -I/vol/X11R6/include      -g -O  gmalloc.c
gmalloc.c:1250: parse error before `ptrdiff_t'
make[1]: *** [gmalloc.o] Error 1


Solution: 
	Change the "ptrdiff_t" variable definition to "int".  This
solves everything, but is probably one massively ugly solution.  I'm
not sure why this was missed in the first place, since that seemed to
be the only problem?  Everything else worked.  I'm NOT supplying a
patch, since this is *UGLY*.


Setup:

configure  --prefix=/vol/inetsw --with-x11 --with-x-toolkit 

generated:

Configured for `sparc-sun-solaris2.3'.

  Where should the build process find the source code?    /vol/inetsw/src/editors/emacs-19.26
  What operating system and machine description files should Emacs use?
        `s/sol2-3.h' and `m/sparc.h'
  What compiler should emacs be built with?               gcc -g -O 
  Should Emacs use the GNU version of malloc?             yes
  Should Emacs use the relocating allocator for buffers?  yes
  What window system should Emacs use?                    x11
  What toolkit should Emacs use?                          LUCID
  Where do we find X Windows header files?                /vol/X11R6/include
  Where do we find X Windows libraries?                   /vol/X11R6/lib
Technical Details
Message-ID: <9409081526.AA27699@wishart.biostats.hmc.psu.edu>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!slsv6bt!slbh01.bln.sel.alcatel.de!rcvie!Austria.EU.net!EU.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!wishart.biostats.hmc.psu.edu!arossini

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,2d6bdbf2e6c66685,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-09-09 00:31:39 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!xlink.net!slsv6bt!slbh01.bln.sel.alcatel.de!rcvie!Austria.EU.net!EU.net!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!wishart.biostats.hmc.psu.edu!arossini
From: arossini@wishart.biostats.hmc.psu.edu (Anthony Rossini)
Newsgroups: gnu.emacs.bug
Subject: Buglet, 19.26, (?) in gmalloc.c, Sparc,Solaris 2.3
Date: 8 Sep 1994 12:09:40 -0400
Organization: GNUs Not Usenet
Lines: 38
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9409081526.AA27699@wishart.biostats.hmc.psu.edu>