| ??? 02/04/02 10:34 Read: times |
#19369 - macro problem |
Hi all,
I try to convert a function I use in many places to a macro but without any luck. The function is: void nop(uint iNumber) { while (iNumber--) _nop_(); } The macro is: #define nop(unsigned int iNumber) {while (iNumber--) _nop_();} When I try to compile I receive the following message "error C304: bad macro parameter list" P.S. I use the Keil's uVision2 with compiler V6.22. Can any one help me? |
| Topic | Author | Date |
| macro problem | 01/01/70 00:00 | |
| RE: macro problem | 01/01/70 00:00 | |
RE: macro problem | 01/01/70 00:00 |



