delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/01/15/01:31:38

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: barrioskmc AT hanmir DOT com (barrios)
Newsgroups: comp.os.msdos.djgpp
Subject: __attribute__((nake)) ??
Date: 14 Jan 2004 22:22:37 -0800
Organization: http://groups.google.com
Lines: 17
Message-ID: <6da55c81.0401142222.541e1f8f@posting.google.com>
NNTP-Posting-Host: 165.194.27.59
X-Trace: posting.google.com 1074147758 12654 127.0.0.1 (15 Jan 2004 06:22:38 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Thu, 15 Jan 2004 06:22:38 +0000 (UTC)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I use MS compiler until now. but I must work with DJGPP. 

then I have a problem. 

MS Compiler support nake function. 

for example..

__declspec(naked) void barrios();

For functions declared with the naked attribute, the compiler
generates code without prolog and epilog code.

And gcc support __attribute__((nake)).  but DJGPP ignore this
attribute. hmm..

help me.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019