View Single Post
Old 26 May 2018, 21:05   #94
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 578
Originally Posted by jotd View Post
Looks like a code bug. This sizeof thing can backfire if it is a pointer. Gcc 8 just happened to detect it and issue a warning tgat became an error. It doesnt seem safe to ignore it. Where can i download and have a look?
It's a harmless idiom. Looks like need a cc-option-add line in to disable this new warning. I might have to install GCC8 and fix this I guess, unless someone wants to make a patch and issue a pull request.
kaffer is offline  
Page generated in 0.04099 seconds with 11 queries