| delorie.com/archives/browse.cgi | search |
| Lines: | 31 |
| X-Admin: | news AT aol DOT com |
| From: | sterten AT aol DOT com (Sterten) |
| Newsgroups: | comp.os.msdos.djgpp |
| Date: | 19 Jul 2001 16:59:25 GMT |
| References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1010719192144 DOT 3894B-100000 AT is> |
| Organization: | AOL http://www.aol.com |
| Subject: | Re: Error: Parse error before ':' |
| Message-ID: | <20010719125925.27408.00000195@ng-ma1.aol.com> |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
hi Susana Moreno ,
you need 8 underscores and 1 blank in
__asm__ __volatile__
I made the same error and just found this out.
There is another problem with fstd %2.
this one compiles for me:
main() {
double x;
double y;
double retorn;
__asm__ __volatile__ ("
fld %0
fld %1
fpatan
// fstd %2
fwait"
:
: "g" (x), "g" (y), "g" (retorn)
);
}
Guenter
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |