[AD] xor problem with Red Hat's 7.0 compiler and 3.9.33 |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
In WIP 3.9.33 the line (no. 1232)
AL_FUNC(void, xor_mode, (int xor));
causes a problem when compiling C++ programs on my RH 7.0 box. I guess
the problem is that xor is a reserved keyword in C++ - the equivalent
of a caret. Anyway the problem is easily fixed by removing the name of
the parameter so the line becomes
AL_FUNC(void, xor_mode, (int));
BTW, the const-correctness fixes are cool - I've just removed a lot of
const_cast from my gstream library. Nice!
--
Ole Laursen
http://sunsite.auc.dk/olau/