Martín Moreno

Results 11 comments of Martín Moreno

I have the same problem on linux. It appears to be a problema with unrecognized gcc command line options: gcc: error: unrecognized command line option ‘-fdeclspec’ gcc: error: unrecognized command...

Hi, Im using gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2). The command line options mentioned are not present on this gcc version.

I think GCC command line options mentioned are pretty old, and could be replaced for new ones or removed.

This solves this issue: sudo apt install clang export CC=/usr/bin/clang export CXX=/usr/bin/clang++

@matgaw Hi, yes, everything is ok with Ruby 3.3.3. And I think that this Is happening only un Linux. Clang is default compiler on Mac.

Hi!, Sure!. This is the result for `ruby -rrbconfig -e 'pp RbConfig::CONFIG.fetch_values("CC", "CFLAGS", "CPPFLAGS", "warnflags", "optflags", "debugflags")'` ["/usr/bin/clang", "-fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int...

I'm using rvm by the way. And I think that this is not happening with Ruby docker image.

@hsbt great!.. Thanks, I posted here what it looks to be a hack.. and I'm on the way with that, but Is good to know that people is taking this...

Hi. thats nice! but is not the my case. I would try to explain a lit better. ```ruby require 'shale' class Person < Shale::Mapper attribute :first_name, Shale::Type::String attribute :last_name, Shale::Type::String...

Nice! I was using this little hack. To prevent defining all maps again. But I think is better to redefine the mapping block for each format. Isnt it? ```ruby def...