View Full Version : [ClanLib 3.0] miniz.h fix

06-08-2013, 08:40 AM

It seams that one of the .h files is using "always_inline" attribute with GCC, although it should also use the inline keyword.
(From : http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html

Generally, functions are not inlined unless optimization is specified. For functions declared inline, this attribute inlines the function even if no optimization level is specified.)

So, here is a micro one-line patch that fixes warning when compiling (I know that it's not the funniest and usefullest thing and the first priority) to apply in Sources/Core/Zip/.

06-08-2013, 07:31 PM
Sounds okay. Patch applied