🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8417

compile warning gcc Solaris 1.1.2

#8417
From: Griff Miller
Date: Mon, 10 Jun 1996 00:00
51 lines
2497 bytes
Platform: SunOS 4.1.4 (Solaris 1.1.2)
Compiler: gcc 2.7.2

I'm using the stock config.data, except:

--- start cut ---

% diff config.dist config.data
21c21
< CC                    cc
---
> CC                    gcc
27c27
< CFLAGS                        $(DEFS) -g
---
> CFLAGS                        $(DEFS) -O2
%

--- end cut ---

I get this warning while running BUILD:

--- start cut ---

lint -u -b -h -z -I../include strerror.c  checkart.c cleanfrom.c clientactive.c clientlib.c closeonexec.c  dbz.c defdist.c findheader.c genid.c getconfig.c getdtab.c  getfqdn.c getmodaddr.c gettime.c inndcomm.c innvers.c localopen.c  lockfile.c nonblocking.c parsedate.c qio.c radix32.c readin.c  remopen.c resource.c sendarticle.c sendpass.c waitnb.c wildmat.c  xfopena.c xmalloc.c xmemerr.c xrealloc.c xwrite.c xwritev.c | sed -n -f ../sedf.sun >lint.all
grep -v yaccpar <lint.all >lint
dbz.c(1390): warning: possible pointer alignment problem
dbz.c(1396): warning: possible pointer alignment problem
malloc, arg. 1 used inconsistently      llib-lc(441)  ::  dbz.c(808)
malloc, arg. 1 used inconsistently      llib-lc(441)  ::  dbz.c(1376)
free, arg. 1 used inconsistently        llib-lc(275)  ::  parsedate.y(193)
free, arg. 1 used inconsistently        llib-lc(275)  ::  parsedate.y(193)
free, arg. 1 used inconsistently        llib-lc(275)  ::  parsedate.y(212)
free, arg. 1 used inconsistently        llib-lc(275)  ::  parsedate.y(212)
free, arg. 1 used inconsistently        llib-lc(275)  ::  parsedate.y(218)
free, arg. 1 used inconsistently        llib-lc(275)  ::  parsedate.y(218)

Continue with the build [y or n]?

--- end cut ---

Should I worry?

--
Griff Miller                         "Keep my mind on higher things; keep my
Systems Administrator   '95 Z-28      mind on truth."
Positron Corporation    '85 VF1100S
griff.miller@positron.com            My opinions are mine, not Positron's.

Technical Details
Message-ID: <4phjc8$dea@aslan.positron.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <4phjc8$dea@aslan.positron.com>
Subject: compile warning gcc Solaris 1.1.2
Date: Mon, 10 Jun 1996 00:00:00 +0000
From: miller@positron.com (Griff Miller)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 159466199
Organization: Positron Corporation - Houston, TX
Reply-to: griff.miller@positron.com
Newsgroups: news.software.nntp