Results 1 to 2 of 2

Thread: [ClanLib 3.0] miniz.h fix

  1. #1

    Default [ClanLib 3.0] miniz.h fix

    Hi,

    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/Fu...ttributes.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/.
    Attached Files Attached Files

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Sounds okay. Patch applied

Similar Threads

  1. ClanLib 2.3.2 Release. ClanLib 2.2.12 Release. Updated Dependencies
    By rombust in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 08-30-2011, 11:08 AM
  2. Replies: 7
    Last Post: 08-26-2008, 09:57 PM
  3. Installing ClanLib 0.8 and ClanLib 0.9 on linux
    By rombust in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 07-15-2008, 09:51 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •