#682 √ resolved
Le Huy

[PATCH] Error using constructor size_t() when compiling CPP branch on Ubuntu

Reported by Le Huy | August 17th, 2008 @ 08:25 PM | in 0.10


huy@huy-desktop:/u01/rubinius/code$ rake vm
(in /u01/rubinius/code)
gcc -Ivm/external_libs/libtommath -Ivm/external_libs/onig -Ivm/external_libs/libffi/include -Ivm/external_libs/libltdl -Ivm/external_libs/libev -Ivm/external_libs/llvm/include -Ivm/test/cxxtest -Ivm -I. -Wall -Werror -ggdb -gdwarf-2 -I/u01/rubinius/code/vm/external_libs/llvm/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -fomit-frame-pointer -c -o vm/vmmethod.o vm/vmmethod.cpp 2>&1
cc1plus: warnings being treated as errors
vm/vmmethod.hpp: In constructor ‘rubinius::Opcode::Opcode(rubinius::opcode, int, int)’:
vm/vmmethod.hpp:95: warning: converting to non-pointer type ‘size_t’ from NULL
vm/vmmethod.hpp: In constructor ‘rubinius::Opcode::Opcode(rubinius::VMMethod::Iterator&)’:
vm/vmmethod.hpp:100: warning: converting to non-pointer type ‘size_t’ from NULL
rake aborted!
Command failed with status (1): [gcc -Ivm/external_libs/libtommath -Ivm/ext...]

(See full trace by running task with --trace)

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

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

People watching this ticket