- This topic has 0 replies, 1 voice, and was last updated 17 years, 6 months ago by .
Viewing 0 reply threads
Viewing 0 reply threads
- The forum ‘C Programming’ is closed to new topics and replies.
Home › Forums › C Programming › workaround for gcc extensions in c
I understand that gcc has an extension which allows index-specific initialization of a static array. My compiler (microsoft 6), does not support this and i cannot switch compilers. I am using the macro to to add a parameter-setter pointer to an objects v-table.
1 | #define ADD_SETP_ENTRY(theParam) [theParam] &setParam_ ## theParam |
any known workarounds or ideas?