Movatterモバイル変換


[0]ホーム

URL:


Next:, Previous:, Up:Pragmas Accepted by GCC   [Contents][Index]


6.5.9 Solaris Pragmas

The Solaris target supports#pragma redefine_extname(seeSymbol-Renaming Pragmas). It also supports additional#pragma directives for compatibility with the system compiler.

alignalignment (variable [,variable]...)

Increase the minimum alignment of eachvariable toalignment.This is the same as GCC’saligned attribute seeSpecifying Attributes of Variables). Macro expansion occurs on the arguments to this pragmawhen compiling C and Objective-C. It does not currently occur whencompiling C++, but this is a bug which may be fixed in a futurerelease.

fini (function [,function]...)

This pragma causes each listedfunction to be called aftermain, or during shared module unloading, by adding a call to the.fini section.

init (function [,function]...)

This pragma causes each listedfunction to be called duringinitialization (beforemain) or during shared module loading, byadding a call to the.init section.


[8]ページ先頭

©2009-2026 Movatter.jp