RE: [Dev-C++] inline assembly in winnt.h
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Thoralf S. <tho...@ya...> - 2005-06-24 18:50:41
|
Hi Matthew, hi Alfred, first of all, thank you very much for your answers! The missing semicolon didn't do the trick, it seems like I hit the AT&T- vs. Intel-style inline asambler syntax issue here (as Alfred suggested). I'll see if I manage to get this rewritten to GAS-style ... If not, would it be a feasible solution to either a) replace the assembler bits by pure C(++) code (there are only 5 or 6 assembler bits scattered around winnt.h, and things like bit-shifting should be possible without assembler code) or b) throw in some extra #ifdef - stuff to make the compiler use the non-assembler function that _should_ be also present in this file (I've seen some declarations regarding Apple Macintosh stuff) ? In either case, I'll probably some help by people more experienced with c and assembler stuff - after all, I'm not really a programmer ... with kind regards, Thoralf. ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com |