gcc Error-"non local function uses anonymous type"

gcc Error-"non local function uses anonymous type"

Post by pran » Thu, 25 May 2000 04:00:00


    I installed gcc 2.95.2 package on my freebsd 3.4 i386

My problem is that following code is giving error with
gcc2.95.2.It is working fine with gcc

:1 #include<gdbm.h>
:2 GDBM_FILE OpenDatabase(int);

Error Message :

test.h:2: non local function 'struct{anonymous}*
OpenDatabase(int) uses anonymous type

GDBM_FILE is a structure used by gdbm database library defined
in gdbm.h. Any one of you encountered  this problem or know how
to solve this problem.

"gcc295 -v" is giving the output below -->
  Reading specs from
  gcc version 2.95.2 19991024 (release)

Thanks in Advance


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!


1. Type "(", ")" and "{", "}" in X...


When i start a shell under X, i can type all characters on my keyboard,
the same when i start the simple editor, but when i start Forte (Java
IDE) written in Java i cant use the "(", ")", "{", "}" and allmost none
of the characters that are located on the same key as a number...

Does anybody have an idea what i can do about that... could it be
something with programs written in Java..?


Sent via Deja.com http://www.deja.com/
Before you buy.

2. lpr to win95?

3. GETSERVBYNAME()????????????????????"""""""""""""

4. killppp attempt.

5. "mount -o bind" - "fs type none not supported" error

6. installing linux from the hard drive : help...

7. Is a bash function a "function" or a "subroutine"?

8. Higher than 115k serial i/o

9. "Novell-like","non-TCP/IP","networking" OS to place Unix

10. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

11. Using "if" in "ksh" to change "for loop" values....

12. "Value too large for defined data type" error when using tar

13. Strange error when using function "ioctl"