delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/08/05:06:48.1

From: "Tonu Aas" <tonu AT ids DOT ee>
Newsgroups: comp.os.msdos.djgpp
Subject: Help! function typedef
Date: Fri, 8 Dec 2000 11:55:42 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.3018.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
Lines: 14
Message-ID: <3a30b1a8$0$24264@diablo.uninet.ee>
NNTP-Posting-Host: 194.204.53.21
X-Trace: diablo.uninet.ee 976269736 24264 194.204.53.21
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Why doesnt this work ?

typedef int (MY_FUNC_TYPE)(void);

MY_FUNC func
 {
  return 0;
 }

Error: syntax error before `{'

Tõnu.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019