Message-ID: <000a01c11066$9fe0c120$0201a8c0@isp> From: "josep lluis" To: Subject: Error: Parse error before ':' HELP Date: Thu, 19 Jul 2001 17:22:29 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C11077.630C7D00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C11077.630C7D00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello! I'm trying to include a litle asm code in a .cpp archive: double x; double y; double retorn; _asm__volatile_(" fld %0\n fld %1\n fpatan\n fld %2\n=20 fwait" : : "g" (x), "g" (y), "g" (retorn) ); When i compile this error is reported: : parse error before ':'=20 Anybody can help me? Thanks in advanced, Susana Moreno ------=_NextPart_000_0007_01C11077.630C7D00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello!
 
I'm trying to include a litle asm code = in a .cpp=20 archive:
 
        = double=20 x;
        = double=20 y;
        = double=20 retorn;
 
       =20 _asm__volatile_("
       =20             =    =20         fld %0\n
       =20             =    =20         fld %1\n
       =20             =    =20         fpatan\n
       =20             =    =20         fld %2\n
       =20             =    =20         fwait"
       =20             =    =20         :
       =20             =    =20         : "g" (x), "g" (y), "g"=20 (retorn)
       =20             =    =20         );
 
 
When i compile this error is=20 reported:
 
       =20             =     :=20 parse error before ':'
 
Anybody can help me?
 
Thanks in advanced,
 
       =20             =    =20             =    =20 Susana Moreno
------=_NextPart_000_0007_01C11077.630C7D00--