[#46329] [ruby-trunk - Feature #7252][Assigned] version number of 2.0 release — "usa (Usaku NAKAMURA)" <usa@...>
>> 旧来の開発版/開発版とかもういらないんじゃないですかね。
前田です。
[#46344] Subversion repository breakage and rollback — "NARUSE, Yui" <naruse@...>
Sorry for this trouble,
[#46346] [ruby-trunk - Bug #7262][Open] module extension (#include/#prepend) in refinements — "matz (Yukihiro Matsumoto)" <matz@...>
[#46350] RubySpecメンテナ — Yukihiro Matsumoto <matz@...>
まつもと ゆきひろです
On 11/01/2012 07:43 PM, Yukihiro Matsumoto wrote:
2012年11月2日 12:44 Urabe Shyouhei <[email protected]>:
まつもと ゆきひろです
遠藤です。
まつもと ゆきひろです
On 11/02/2012 03:47 AM, Yukihiro Matsumoto wrote:
[#46414] [ruby-trunk - Bug #7287][Open] please rename atomic.h which conflicts with /usr/include/atomic.h in Solaris10 — "ngoto (Naohisa Goto)" <ngotogenome@...>
きしもとです
[#46434] トラップハンドラで許されない操作はなにか — KOSAKI Motohiro <kosaki.motohiro@...>
GyRCPi46aiRHJDkbKEIKCltCdWcgIzcxMzRdIBskQiRyRDQkWSRGJCQkRj88SiUkSjtFTU1MZEJq
近永と申します。
2012/11/9 Tomoyuki Chikanaga <[email protected]>:
[#46477] Fwd: [ruby-changes:25559] shugo:r37616 (trunk): * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo): — SASADA Koichi <ko1@...>
refinement を導入するときの性能に対する excuse が「method cache に殆どあ
前田です。
ささだです.
前田です。
ささだです.
前田です。
(2012/11/12 18:20), Shugo Maeda wrote:
前田です。
なかだです。
前田です。
なかだです。
前田です。
(2012/11/16 17:22), Shugo Maeda wrote:
前田です。
[#46494] Refinement仕様 — Yukihiro Matsumoto <matz@...>
まつもと ゆきひろです
[#46509] [ruby-trunk - Bug #7344][Open] gem pristine bigdecimal が失敗してしまう — "hsbt (Hiroshi SHIBATA)" <shibata.hiroshi@...>
[#46540] Re: [ruby-cvs:44900] kosaki:r37730 (trunk): * thread.c, vm_core.h: big rename th to cur_th when works only — SASADA Koichi <ko1@...>
こういう変更を,理由の説明や事前の連絡無く行われると混乱します.
2012/11/19 SASADA Koichi <[email protected]>:
(2012/11/19 21:57), KOSAKI Motohiro wrote:
[#46547] ベンチマークが終わらない — SASADA Koichi <ko1@...>
shugo さんの refinement の修正についてベンチマークを取ろうと,昨日からす
定点観測でもベンチマークがおわってないみたいですね…(タイムアウト処理入れているので気が付きませんでした)
(2012/11/20 8:04), Narihiro Nakamura wrote:
2012年11月20日 8:11 SASADA Koichi <[email protected]>:
(2012/11/21 16:05), NARUSE, Yui wrote:
[#46574] Re: [ruby-cvs:44880] tadf:r37710 (trunk): * bignum.c (rb_cstr_to_inum): should accept underscores of — "NARUSE, Yui" <naruse@...>
2012/11/18 <[email protected]>:
[#46641] Fwd: [ruby-changes:25810] kosaki:r37867 (trunk): * thread.c (rb_mutex_trylock, rb_mutex_unlock, mutex_sleep): — SASADA Koichi <ko1@...>
Mutex#lock とかを,trap handler 中で出来ない,ってのは,すみません,どの
> Mutex#lock とかを,trap handler 中で出来ない,ってのは,すみません,どの
[#46647] [ruby-trunk - Bug #7452][Assigned] Main thread is stopped after running finalizers if the main thread has a finalizer — "mrkn (Kenta Murata)" <muraken@...>
[ruby-dev:46559] [ruby-trunk - Feature #3330][Rejected] mkmf (find|have)_cxx_header
Issue #3330 has been updated by mame (Yusuke Endoh). Status changed from Assigned to Rejected #3333 と重複らしいのでこっちは閉じますね。(せっかくなのでキリ番を残す) -- Yusuke Endoh <[email protected]> ---------------------------------------- Feature #3330: mkmf (find|have)_cxx_header https://bugs.ruby-lang.org/issues/3330#change-33235 Author: metanest (Makoto Kishimoto) Status: Rejected Priority: Low Assignee: nobu (Nobuyoshi Nakada) Category: Target version: =begin うっかりruby-listに投げてしまったきしもとです [ruby-list:47092] で振ってみた話題に関係して、なのですが(ツリーになりませんでしたが)、 mkmf に C++ のヘッダをチェックする機能を追加するパッチです。 Index: configure.in =================================================================== --- configure.in (revision 27940) +++ configure.in (working copy) @@ -243,6 +243,7 @@ fi AC_PROG_CC AC_PROG_CXX +AC_PROG_CXXCPP AC_PROG_GCC_TRADITIONAL AC_SUBST(GCC) if test "$GCC" = yes; then Index: lib/mkmf.rb =================================================================== --- lib/mkmf.rb (revision 27940) +++ lib/mkmf.rb (working copy) @@ -408,6 +408,14 @@ conf) end +def cxxcpp_command(outfile, opt="") + conf = RbConfig::CONFIG.merge('hdrdir' => $hdrdir.quote, 'srcdir' => $srcdir.quote, + 'arch_hdrdir' => "#$arch_hdrdir", + 'top_srcdir' => $top_srcdir.quote) + RbConfig::expand("$(CXXCPP) #$INCFLAGS #$CPPFLAGS #$CXXFLAGS #{opt} #{CONFTEST_C} #{outfile}", + conf) +end + def libpathflag(libpath=$DEFLIBPATH|$LIBPATH) libpath.map{|x| case x @@ -454,8 +462,15 @@ rm_f "conftest*" end +def try_cxxcpp(src, opt="", &b) + try_do(src, cxxcpp_command(CPPOUTFILE, opt), &b) +ensure + rm_f "conftest*" +end + class Object alias_method :try_header, (config_string('try_header') || :try_cpp) + alias_method :try_cxx_header, (config_string('try_cxx_header') || :try_cxxcpp) end def cpp_include(header) @@ -840,6 +855,24 @@ end end +# Returns whether or not the given C plus plus +header+ file can be found on +# your system. If found, a macro is passed as a preprocessor constant to the +# compiler using the header file name, in uppercase, prepended with 'HAVE_'. +# +# For example, if have_header('foo.h') returned true, then the HAVE_FOO_H +# preprocessor macro would be passed to the compiler. +# +def have_cxx_header(header, preheaders = nil, &b) + checking_for header do + if try_cxx_header(cpp_include(preheaders)+cpp_include(header), &b) + $defs.push(format("-DHAVE_%s", header.tr_cpp)) + true + else + false + end + end +end + # Instructs mkmf to search for the given +header+ in any of the +paths+ # provided, and returns whether or not it was found in those paths. # @@ -867,6 +900,33 @@ end end +# Instructs mkmf to search for the given C plus plus +header+ in any of the +# +paths+ provided, and returns whether or not it was found in those paths. +# +# If the header is found then the path it was found on is added to the list +# of included directories that are sent to the compiler (via the -I switch). +# +def find_cxx_header(header, *paths) + message = checking_message(header, paths) + header = cpp_include(header) + checking_for message do + if try_cxx_header(header) + true + else + found = false + paths.each do |dir| + opt = "-I#{dir}".quote + if try_cxx_header(header, opt) + $INCFLAGS << " " << opt + found = true + break + end + end + found + end + end +end + # Returns whether or not the struct of type +type+ contains +member+. If # it does not, or the struct type can't be found, then false is returned. You # may optionally specify additional +headers+ in which to look for the struct =end -- http://bugs.ruby-lang.org/