View Single Post
Old 26 May 2018, 22:05   #94
kaffer
Registered User
 
Join Date: May 2011
Location: Cambridge
Posts: 513
Quote:
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 Rules.mk 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.04101 seconds with 11 queries