TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Bill Birrell
from: Jasen Betts
date: 2004-05-05 06:54:56
subject: Function Pointer Redux

Hi Bill.

02-May-04 23:12:00, Bill Birrell wrote to Neil Heller


  >> Given the following line of code:

  >> typedef void * (*x) (void *)

 BB> There is a little utility called cdecl.exe that allegedly answers
 BB> precisely this type of question. It reports that one as a syntax
 BB> error

It seems cdecl doesn't understand the keyword "typedef",
the compiler parses that line fine here.

cdecl also has trouble with things with integer default type eg:

  foo(void);

 -=> Bye <=-

---
* Origin: Bad karma, yea Way bad karma.. (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.