🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.dsp
Article #2652

g21k under OS/2

#2652
From: Ken
Date: Wed, 18 Nov 1998 00:00
37 lines
2077 bytes
[g21k is DOS-based Gnu C 2.3.3 targeted for Analog Devices SHARC 21000
architecture.]

I'm compiling in a DOS window under OS/2, specifically Warp 4 with
fixpak 8. After a few modules compile, the whole system crashes to a
register screen. It's not related to a specific source module, as
following a reboot, the Make will resume, go for a few more modules, and
crash again. Anyone seen this? It's most likely IBM's fault, but I don't
have a good idea on how to narrow it down for a bug report or
workaround. I suppose I'll have to start doing my compiles under NT and
hope it works a little better.

Also, I've inherited an idiom that looks like this:

[in header]
#define LOCAL_LINKAGE
#define near
#define local_proc static near LOCAL_LINKAGE

[in .c file]
int local_proc foo (int arg) { ... }

g21k warns about "static" not being at the beginning of the declaration.
Does standard C not allow "static" (a property of the function, not the
return type) to be sytacticly adjacent to the function name?

I've also seen warnings about an array index being of type char. Why
should it care?

Is there a way to silence these warnings?

-- 
Ken
mailto:shiva@well.com
http://www.well.com/user/shiva/
http://sewnsurf.home.ml.org/
http://www.e-scrub.com/cgi-bin/wpoison/wpoison.cgi (Death to Spam!)
Technical Details
Message-ID: <3653A950.30D9@well.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <365244F8.5371@well.com> <72u0o6$nad@gcsin3.geccs.gecm.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,64e721e99efdb086,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1014db,64e721e99efdb086,start
X-Google-Attributes: gid1014db,public
X-Google-Thread: f8fcc,88111ff3decc9144
X-Google-Attributes: gidf8fcc,public
X-Google-Thread: 10c4f5,64e721e99efdb086,start
X-Google-Attributes: gid10c4f5,public
From: Ken <shiva@well.com>
Subject: g21k under OS/2
Date: 1998/11/18
Message-ID: <3653A950.30D9@well.com>
X-Deja-AN: 413405022
Content-Transfer-Encoding: 7bit
References: <365244F8.5371@well.com> <72u0o6$nad@gcsin3.geccs.gecm.com>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Newsgroups: comp.dsp,comp.os.os2.bugs,comp.lang.c,gnu.gcc.help