Weird gcc behavior
#6
Ah, interesting. So do a memset(BoolArray, 1, ...); right? Or even change 1 to true

I see you changed it to loop through all indices and set it to true. But memset should work too right? Because it sets memory per byte, and a boolean is a byte in memory
Reply
Thanks given by:


Messages In This Thread
Weird gcc behavior - by xoft - 11-18-2012, 11:35 PM
RE: Weird gcc behavior - by ThuGie - 11-19-2012, 01:15 AM
RE: Weird gcc behavior - by FakeTruth - 11-19-2012, 03:10 AM
RE: Weird gcc behavior - by xoft - 11-19-2012, 03:50 AM
RE: Weird gcc behavior - by xoft - 11-19-2012, 07:43 AM
RE: Weird gcc behavior - by FakeTruth - 11-19-2012, 07:57 AM
RE: Weird gcc behavior - by xoft - 11-19-2012, 04:19 PM
RE: Weird gcc behavior - by FakeTruth - 11-19-2012, 05:56 PM



Users browsing this thread: 1 Guest(s)