delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/12/14:03:37

Date: Tue, 12 Aug 1997 14:02:56 -0400 (EDT)
From: "Art S. Kagel" <kagel AT ns1 DOT bloomberg DOT com>
To: Guan Foo Wah <jgfw AT usa DOT net>
Cc: djgpp AT delorie DOT com
Subject: Re: Question about #pragma
In-Reply-To: <ww01-BHLJZN2260@netaddress.usa.net>
Message-Id: <Pine.D-G.3.91.970812135416.21447B-100000@dg1>
Mime-Version: 1.0

On Tue, 12 Aug 1997, Guan Foo Wah wrote:

> I have seem many source code with the word #pragma. I do not know what 
> this means. My C book (Teach Yourself C in 21 Days) did not give me any 
> info about this. The only thing I know is it is a preprocessor command. 
> 
> 
> Can anyone care to explain to me what is #pragma. Is it ANSI 
> compatible ?? 
> 

#pragma is compiler directive which precedes compiler specific
options.  It basically says to a compiler: "The following may be
something that you do not understand.  If so you are free to ignore
it." 

Art S. Kagel, kagel AT bloomberg DOT com

- Raw text -


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