delorie.com/archives/browse.cgi | search |
From: | "Lars O. Hansen" <lars DOT o DOT hansen AT gmx DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: dynamic gotos possible with djgpp? |
Date: | Sat, 21 Dec 2002 17:10:08 +0100 |
Organization: | 1&1 Internet AG |
Lines: | 15 |
Message-ID: | <au23ou$3fg$1@news.online.de> |
References: | <au1u53$vdj$1 AT news DOT online DOT de> <Xns92EB68088B9B7asu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> |
NNTP-Posting-Host: | p5083884a.dip0.t-ipconnect.de |
X-Trace: | news.online.de 1040487006 3568 80.131.136.74 (21 Dec 2002 16:10:06 GMT) |
X-Complaints-To: | abuse AT online DOT de |
NNTP-Posting-Date: | 21 Dec 2002 16:10:06 GMT |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 6.00.2800.1106 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
> int main(void) > { > void *f = &&mylabel; > goto *f; > printf("hello\n"); > mylabel: > return 0; > } thanks, I also have a look at http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/C-Extensions.html#C%20Extensions and http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Labels-as-Values.html#Labels%20as%20Values
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |