nested function
发现open64不支持nested function。源码如下: if (CURRENT_SYMTAB > 1)
ErrMsg (EC_Unimplemented_Feature, "Nested functions");验证如下:$ cat nested.c
#include <stdio.h>
int
main (void)
{
void
func (void)
{
printf ("hello\n");
}
func ();
return 0;
}
用gcc可以编译通过,并正确运行。用open64编译会报:
### Compiler Error during Writing WHIRL file phase:
### Nested functions not implemented 有人又有发paper的机会了。
页:
[1]