sugiarto
Posted on November 6, 2024
Few days ago, I bought second macbook pro m2, and need to setup rails projects on my mac.
One type of error that raised very often was:
error: incompatible function pointer types passing 'VALUE (VALUE)'
And the fixed always by adding
--with-cflags=-Wno-error=incompatible-function-pointer-types
Sample
gem install msgpack -v '1.4.2' -- --with-cflags=-Wno-error=incompatible-function-pointer-types
I put here, so this will remind me in case I find similar issue.
💖 💪 🙅 🚩
sugiarto
Posted on November 6, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.