c++ - Why doesn't gcc support naked functions? -


I use nude functions in the patch parts of running programs. I can do this easily in VC ++ in Windows, I am trying to do this in Linux and it seems that GCC has not supported nude work. Compiling the code with nude functions gives me this: Warning: one. Ignore attribute directives compiled under CentOS 5.5 i386. The naked feature is supported by GCC only on some platforms (ARM, AVR, MCAR, RX and SPU).

According to:

Nude : To indicate the ARM, AVR, MCAR, Rx and SPU ports of this feature, specify that the specified function The aforementioned / unfilong series generated by the compiler is not required. The programmer is dependent on providing these sequences. Only statements that can be safely included in nude functions are AM statements which do not have operand. All other statements, including statements of local variables, should be avoided if statements, and even further.

I'm sure why not.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -