Skip to content

Instantly share code, notes, and snippets.

@ryandesign
Created November 11, 2011 00:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryandesign/1356755 to your computer and use it in GitHub Desktop.
Save ryandesign/1356755 to your computer and use it in GitHub Desktop.
Fix MongoHub error "must have a 64bit int type" when using gcc
error: #error must have a 64bit int type
--- MongoHub.xcodeproj/project.pbxproj.orig 2011-11-10 18:00:13.000000000 -0600
+++ MongoHub.xcodeproj/project.pbxproj 2011-11-10 18:04:37.000000000 -0600
@@ -1480,6 +1480,7 @@
"$(inherited)",
"\"$(SRCROOT)\"/Frameworks",
);
+ GCC_C_LANGUAGE_STANDARD = c99;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREFIX_HEADER = MongoHub_Prefix.pch;
INFOPLIST_FILE = "Resources/MongoHub-Info.plist";
@@ -1496,6 +1497,7 @@
"$(inherited)",
"\"$(SRCROOT)\"/Frameworks",
);
+ GCC_C_LANGUAGE_STANDARD = c99;
GCC_PREFIX_HEADER = MongoHub_Prefix.pch;
INFOPLIST_FILE = "Resources/MongoHub-Info.plist";
INSTALL_PATH = "$(HOME)/Applications";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment