1.8.1 failure

Solaris 9
gcc 3.3.1

yaml2byte.c: In function bytestring_alloc': yaml2byte.c:42: warning: integer constant is too large for "long" type yaml2byte.c: In functionbytestring_append’:
yaml2byte.c:56: warning: integer constant is too large for “long” type
yaml2byte.c: In function bytestring_extend': yaml2byte.c:89: warning: integer constant is too large for "long" type yaml2byte.c:90: warning: integer constant is too large for "long" type yaml2byte.c:92: error:YAMLBYTE_ANCHOR’ undeclared (first use in this
function)
yaml2byte.c:92: error: (Each undeclared identifier is reported only once
yaml2byte.c:92: error: for each function it appears in.)
yaml2byte.c:96: error: YAMLBYTE_ALIAS' undeclared (first use in this function) yaml2byte.c: In functionsyck_yaml2byte_handler’:
yaml2byte.c:134: error: YAMLBYTE_ANCHOR' undeclared (first use in this function) yaml2byte.c:139: error:YAMLBYTE_TRANSFER’ undeclared (first use in
this function)
yaml2byte.c:153: error: YAMLBYTE_SCALAR' undeclared (first use in this function) yaml2byte.c:163: error:YAMLBYTE_CONTINUE’ undeclared (first use in
this function)
yaml2byte.c:172: error: YAMLBYTE_NEWLINE' undeclared (first use in this function) yaml2byte.c:176: error:YAMLBYTE_NULLCHAR’ undeclared (first use in
this function)
yaml2byte.c:187: error: YAMLBYTE_SEQUENCE' undeclared (first use in this function) yaml2byte.c:194: error:YAMLBYTE_END_BRANCH’ undeclared (first use in
this function)
yaml2byte.c:197: error: YAMLBYTE_MAPPING' undeclared (first use in this function) make[1]: *** [yaml2byte.o] Error 1 make[1]: Leaving directory/usr/local/src/ruby-1.8.1/ext/syck’
make: *** [all] Error 1

I see an include for yamlbyte.h in yaml2byte.c. Is this a dynamically
generated file of some sort? Because I don’t see it.

/usr/local/src/ruby-1.8.1/config.h:16:1: warning: "_FILE_OFFSET_BITS"
redefined

Wasn’t a patch submitted to fix this warning already? I seem to
remember it being submitted on the core list.

Regards,

Dan

Hi,

···

In message “1.8.1 failure” on 03/10/31, Daniel Berger djberge@qwest.com writes:

yaml2byte.c: In function bytestring_alloc': yaml2byte.c:42: warning: integer constant is too large for "long" type yaml2byte.c: In function bytestring_append’:

Thank you for the report. I just put preview2 at

ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.1-preview2.tar.gz

md5sum is 067deb137b70d6ca046f6d7e9a84e198

						matz.

Sorry about that (Matz and others). I was warned of these errors, but the
preview sort of snuck up all the sudden. Indeed, these should be fixed
presently.

Nice work on this preview release, matz. And everyone else out there: please
report Syck or YAML-related errors straightway to me.

_why

···

On Thursday 30 October 2003 01:15 pm, Daniel Berger wrote:

yaml2byte.c: In function `bytestring_alloc’:
yaml2byte.c:42: warning: integer constant is too large for “long” type

Hi,

···

In message “Re: 1.8.1 failure” on 03/10/31, why the lucky stiff ruby-talk@whytheluckystiff.net writes:

Sorry about that (Matz and others). I was warned of these errors, but the
preview sort of snuck up all the sudden. Indeed, these should be fixed
presently.

It’s the purpose of previews, but I still should have told you the
preview release schedule. Sorry. We will have a few previews soon.
Then the final 1.8.1 release will be in two weeks or so.

						matz.

Thank you for the report. I just put preview2 at
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.1-preview2.tar.gz

Mirrored here:

http://rubyforge.org/project/showfiles.php?group_id=30&release_id=152

Yours,

Tom