#105 ✓resolved
Richard Funderburk

Checked in version won't compile

Reported by Richard Funderburk | February 17th, 2009 @ 10:35 PM | in 4.1.9

The code that is in github fails to compile unless the following is added to ext/redcloth_scan/redcloth.h:

VALUE red_parse_title(VALUE, VALUE);

Otherwise the compilation fails with, essentially, a mismatched function call on lines 39 and 53 of ext/redcloth_scan/redcloth_inline.c.rl

With the addition to ext/redcloth_scan/redcloth.h the code compiled properly on a Mac system and a Gentoo Linux system.

Comments and changes to this ticket

  • Jason Garber

    Jason Garber February 18th, 2009 @ 07:04 AM

    • State changed from “new” to “open”

    Good catch. It compiles fine on my machine and doesn't even give me a warning when I don't declare functions in the header file. This isn't the first time I've made this mistake. Any idea how to get the compiler to at least warn me so I don't do it again? I'm on OS X Leopard.

  • Jason Garber

    Jason Garber February 18th, 2009 @ 03:42 PM

    • State changed from “open” to “resolved”

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