🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4363

macro versus function in standard headers

#4363
From: Tanmoy Bhattacharya
Date: Mon, 13 Nov 1995 16:27
17 lines
1075 bytes
Is a conforming implementation _required_ to give a diagnostic if presented
with the following source:

#include <stdlib.h>
int main(void) { return abs("0"); }

or does one need to write (abs)("0") instead to be assured of the diagnostic.

Cheers
Tanmoy
-- 
tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
<http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
Technical Details
Message-ID: <487rls$rci@newshost.lanl.gov>
Path: arc1-ca.pugleaf.net!qcd.lanl.gov!tanmoy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!qcd.lanl.gov!tanmoy
From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
Newsgroups: comp.std.c
Subject: macro versus function in standard headers
Date: 13 Nov 1995 16:27:39 GMT
Organization: Los Alamos National Laboratory
Distribution: world
Message-ID: <487rls$rci@newshost.lanl.gov>
NNTP-Posting-Host: qcd.lanl.gov