I can't find a good definition anywhere...

Tom Neff tneff at bfmny0.UUCP
Wed May 17 04:02:43 AEST 1989


Here are the #pragma's you can use with Intel's iC-86 (-286, -386).

	#pragma align [(["structure-tag"[=size]][,...])]
		noalign [("structure-tag"[,...])]

	#pragma [no]code		<-- assembly type listing

	#pragma compact			<-- memory model

	#pragma [no]cond		<-- list conditional code

	#pragma [no]debug		<-- symbol info in object module

	#pragma [no]extend		<-- allows keywords "alien,"
					    "far," "near," and "readonly,"
					    and ignores "$" in identifiers.

	#pragma fixedparams [("function"[,...])]
					<-- specifies calling convention

	#pragma interrupt("ifunction"[=n][,...])
					<-- identifies interrupt handlers

	#pragma large			<-- memory model

	#pragma [no]list

	#pragma [no]listinclude

	#pragma medium			<-- memory model

	#pragma mod[1]86		<-- instruction set

	#pragma object[(pathname)]
		noobject

	#pragma optimize(0|1|2|3)

	#pragma pagelength(n)

	#pragma pagewidth(n)

	#pragma preprint [(pathname)]	<-- preprocessor output
		nopreprint

	#pragma print[(pathname)]
		noprint

	#pragma ram			<-- which segment constants go in
		rom

	#pragma searchinclude("directory"[,...])]
		nosearchinclude

	#pragma small			<-- memory model

	#pragma [no]symbols		<-- symbol table in listing

	#pragma tabwidth(width)		<-- in listing

	#pragma title[("string")

	#pragma [no]type		<-- type info in object

	#pragma varparams[("function"[,...])]
					<-- calling convention

These pragmas may be mixed freely on a line.  The compiler defines
_STDC_ = 1.

	#pragma [no]xref		<-- in listing







-- 
Tom Neff				UUCP:     ...!uunet!bfmny0!tneff
    "Truisms aren't everything."	Internet: tneff at bfmny0.UU.NET



More information about the Comp.std.c mailing list