Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Suppress warnings on OS X 10.5 when compiling makeicns utility #25

Closed
wants to merge 1 commit into from

2 participants

@xoob

A few NSFileManager and CG methods were deprecated in OS X v10.5 and are
now causing warnings during compilation. Because of this the custom
icons have been made optional and the default build does not provide
them anymore.

This is a workaround fix to suppress the warning messages until the
source code is updated properly.

@xoob xoob Suppress warnings when compiling makeicns utility
A few NSFileManager and CG methods were deprecated in OS X v10.5 and are
now causing warnings during compilation. Because of this the custom
icons have been made optional and the default build does not provide
them anymore.

This is a workaround fix to suppress the warning messages until the
source code is updated properly.
feb69a3
@b4winckler
Owner

Thanks for the patch. I would much rather have a patch that actually fixes the problem however -- I don't really see the purpose in adding a flag to suppress warnings.

Note that custom icons were not made optional because of warnings -- it was because they relied on an internet connection and for the site that hosts the Envy Code R font to be up (it did happen to be unreachable every now and then).

(Also: I am not the author of the makeicns utility so I was hoping somebody else would eventually fix this script.)

@b4winckler b4winckler closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 29, 2012
  1. @xoob

    Suppress warnings when compiling makeicns utility

    xoob authored
    A few NSFileManager and CG methods were deprecated in OS X v10.5 and are
    now causing warnings during compilation. Because of this the custom
    icons have been made optional and the default build does not provide
    them anymore.
    
    This is a workaround fix to suppress the warning messages until the
    source code is updated properly.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/MacVim/icons/makeicns/Makefile
View
2  src/MacVim/icons/makeicns/Makefile
@@ -1,4 +1,4 @@
-CFLAGS = -fpascal-strings -O2
+CFLAGS = -fpascal-strings -O2 -Wno-deprecated-declarations -Wno-format
.PHONY: clean dist
Something went wrong with that request. Please try again.