Project

General

Profile

Actions

Bug #824

closed

st.h requires stdlib.h

Added by felipec (Felipe Contreras) over 15 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
Backport:
[ruby-core:20339]

Description

=begin
st.h is using size_t which is defined in stdlib.h.

Compilation fails when using st.h directly. That happens in libxml-ruby for example.
=end

Actions #1

Updated by felipec (Felipe Contreras) over 15 years ago

=begin
Another option is to use stddef.h.
=end

Actions #2

Updated by cfis (Charlie Savage) over 15 years ago

=begin
Hi Felipe,

An aside, but libxml-ruby shouldn't be using st.h anymore (it did for a release but I took it out). Will check the header files to make sure.

FYI - the code that I did have in failed on 64bit machines, most likely because of this incorrect typecase. I can dig up the code if needed, its in the svn repository for libxml-ruby.
=end

Actions #3

Updated by ko1 (Koichi Sasada) over 15 years ago

  • Assignee set to nobu (Nobuyoshi Nakada)

=begin

=end

Actions #4

Updated by nobu (Nobuyoshi Nakada) over 15 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r20622.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0