__func__ is defined in C99. What version of the SGI C compiler are you
using? According to the following, as of version 7.4, the -c99 flag
should enable this to compile:

http://www.sgi.com/products/software/irix/tools/c.html

Mike


On Fri, Jun 6, 2014 at 3:14 AM, Pieter Bowman via RT <r...@openssl.org> wrote:
> The following shows up using SGI IRIX cc:
>
> cc -I.. -I../include  -DOPENSSL_THREADS -D_SGI_MP_SOURCE -DDSO_DLFCN 
> -DHAVE_DLFCN_H -DOPENSSL_USE_IPV6=0 -n32 -mips3 -O2 -use_readonly_const -G0 
> -rdata_shared -DTERMIOS -DB_ENDIAN -DBN_DIV3W   -c -o heartbeat_test.o 
> heartbeat_test.c
> cc-1020 cc: ERROR File = heartbeat_test.c, Line = 276
>   The identifier "__func__" is undefined.
>
>         SETUP_HEARTBEAT_TEST_FIXTURE(dtls);
>         ^
>
> cc-1020 cc: ERROR File = heartbeat_test.c, Line = 294
>   The identifier "__func__" is undefined.
>
>         SETUP_HEARTBEAT_TEST_FIXTURE(dtls);
>         ^
>
> cc-1020 cc: ERROR File = heartbeat_test.c, Line = 312
>   The identifier "__func__" is undefined.
>
>         SETUP_HEARTBEAT_TEST_FIXTURE(dtls);
>         ^
>
> cc-1020 cc: ERROR File = heartbeat_test.c, Line = 326
>   The identifier "__func__" is undefined.
>
>         SETUP_HEARTBEAT_TEST_FIXTURE(dtls);
>         ^
>
> cc-1020 cc: ERROR File = heartbeat_test.c, Line = 343
>   The identifier "__func__" is undefined.
>
>         SETUP_HEARTBEAT_TEST_FIXTURE(dtls);
>         ^
>
> cc-1020 cc: ERROR File = heartbeat_test.c, Line = 360
>   The identifier "__func__" is undefined.
>
>         SETUP_HEARTBEAT_TEST_FIXTURE(tls);
>         ^
>
> cc-1020 cc: ERROR File = heartbeat_test.c, Line = 378
>   The identifier "__func__" is undefined.
>
>         SETUP_HEARTBEAT_TEST_FIXTURE(tls);
>         ^
>
> cc-1020 cc: ERROR File = heartbeat_test.c, Line = 396
>   The identifier "__func__" is undefined.
>
>         SETUP_HEARTBEAT_TEST_FIXTURE(tls);
>         ^
>
> cc-1020 cc: ERROR File = heartbeat_test.c, Line = 410
>   The identifier "__func__" is undefined.
>
>         SETUP_HEARTBEAT_TEST_FIXTURE(tls);
>         ^
>
> 9 errors detected in the compilation of "heartbeat_test.c".
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       openssl-dev@openssl.org
> Automated List Manager                           majord...@openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to