#223 new
Cheng

Please turn off -Werror unless you are going to fix the compile warnings.

Reported by Cheng | May 29th, 2011 @ 12:03 AM

RedCloth 4.7.2
Ruby 1.8.7
Fedora 15
GCC 4.6.0

tasks/compile.rake
33:$CFLAGS << ' -O0 -Wall -Werror' if CONFIG['CC'] =~ /gcc/

ERROR:  Error installing RedCloth:
        ERROR: Failed to build gem native extension.

        /usr/local/rvm/rubies/ruby-1.8.7-p334/bin/ruby extconf.rb
checking for main() in -lc... yes
creating Makefile

make
gcc -I. -I. -I/usr/local/rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/x86_64-linux -I.  -fPIC -g -O2  -fPIC  -O0 -Wall -Werror  -c redcloth_attributes.c
ragel/redcloth_attributes.c.rl: In function ‘redcloth_attribute_parser’:
ragel/redcloth_attributes.c.rl:26:11: error: variable ‘act’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make: *** [redcloth_attributes.o] Error 1

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RedCloth is a Ruby library for converting Textile into HTML

Shared Ticket Bins

People watching this ticket

Pages