[#9722] Kernel#system broken inside Dir.chdir(&block) if system command doesn't have shell characters — <noreply@...>

Bugs item #7278, was opened at 2006-12-14 13:59

8 messages 2006/12/14

[#9749] System V IPC in standard library? — Steven Jenkins <steven.jenkins@...>

Back in August, I needed a semaphore to serialize access to an external

14 messages 2006/12/19

[#9753] CVS freeze — SASADA Koichi <ko1@...>

Hi,

20 messages 2006/12/20
[#9755] Re: [ruby-dev:30039] CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

[#9757] Re: [ruby-dev:30040] Re: CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

[ ruby-Bugs-7431 ] Conflict with STL <iostream> and ruby 1.8.5. headers

From: <noreply@...>
Date: 2006-12-24 13:43:43 UTC
List: ruby-core #9784
Bugs item #7431, was opened at 2006-12-24 14:43
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=7431&group_id=426

Category: Core
Group: 1.8.5
Status: Open
Resolution: None
Priority: 3
Submitted By: Jano Svitok (janek)
Assigned to: Nobody (None)
Summary: Conflict with STL <iostream> and ruby 1.8.5. headers

Initial Comment:
when compiling extension that uses <istream> or <ostream> the following errors are issued:

ostream(491) : warning C4003: not enough actual parameters for macro
'write'
ostream(490) : error C2059: syntax error : ')'

the same for 'istream' and 'read'.

macros write() and read() conflict with the respective members of istream resp. ostream.

#undef'ing write and read before including them works for me (I don't do anything with files, though).

compiler: MS VC8 (=VS2005)

the problem exists since rb_write*/rb_read was renamed to write/read sometime around 1.8.4

* or how it was called before


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=7431&group_id=426

In This Thread

Prev Next