Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

mysql-config shipped by mysql 5.6 does not work with gcc 4.2 #20871

Closed
mipearson opened this issue Jun 28, 2013 · 3 comments
Closed

mysql-config shipped by mysql 5.6 does not work with gcc 4.2 #20871

mipearson opened this issue Jun 28, 2013 · 3 comments

Comments

@mipearson
Copy link

The mysql-config in the bottle for mountain lion contains the following:

cflags="-I$pkgincludedir  -Wall -Wno-null-conversion -Wno-unused-private-field -Os -g -fno-strict-aliasing -DDBUG_OFF -arch x86_64 " #note: end space!
cxxflags="-I$pkgincludedir  -Wall -Wno-null-conversion -Wno-unused-private-field -Os -g -fno-strict-aliasing -DDBUG_OFF -arch x86_64 " #note: end space!

-Wno-null-conversion and -Wno-unused-private-field do not work with the gcc shipped with XCode 4.6.3, 4.2.1.

@mipearson
Copy link
Author

Found this out via a failed mysql2 gem build & then found http://www.randomactsofsentience.com/2013/05/gem-install-mysql2-missing-mysqlh-on-os.html

@MikeMcQuaid
Copy link
Member

GCC isn't shipped with Xcode 4.6.3.

@adamv
Copy link
Contributor

adamv commented Jun 28, 2013

Duplicate of #20788.

@adamv adamv closed this as completed Jun 28, 2013
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants