Posts by Adilson Enio Pierog • 11 points
2 posts
-
0
votes1
answer26
viewsA: when compiling: "Warning: Operation on `eventhead' may be Undefined"
I decided to write like this: eventhead = (eventhead+1)&(MAXEVENTS-1);
canswered Adilson Enio Pierog 11 -
1
votes1
answer26
viewsQ: when compiling: "Warning: Operation on `eventhead' may be Undefined"
Hello, I’m trying to compile a code with this excerpt: void D_PostEvent (event_t* ev) { events[eventhead] = *ev; eventhead = (++eventhead)&(MAXEVENTS-1); } And I get the following warning:…
casked Adilson Enio Pierog 11