That does not help either. I've put a single "worker" version here

https://github.com/christkv/node-psutil/tree/no_using_namespace

and it builds with g++ but does fails when running the virtual_memory_test 
as indicated above.

On Friday, September 7, 2012 10:05:40 AM UTC+2, Marcel wrote:
>
> Never never never never never never never put "using namespace" in a 
> header file. Or before *any* #include.
>
> On Thu, Sep 6, 2012 at 8:36 AM, christkv <[email protected] 
> <javascript:>>wrote:
>
>> I'm slowly working on rewriting the python lib psutil for node but I'm 
>> running into a problem on linux. It builds perfectly with clang++ but fails 
>> to link correctly with g++. The code is here
>>
>> https://github.com/christkv/node-psutil
>>
>> I would really really appreciate it if anyone could shed some light on 
>> the problem as I've pretty much wasted a couple of days trying to figure 
>> out and I'm sure it's something stupid I've forgot to add in the gyp file.
>>
>> I published it under psutil on npm so just grab latest if you want to try 
>> it out. It's a bit barebones right now and only supports linux and darwin 
>> but I'll keep adding to it over time to have a proper full port in due time.
>>  
>> -- 
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines: 
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to [email protected]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to