pan-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pan-devel] Re: Ping K.Haley: latest testing bra nch updates, I get comp


From: walt
Subject: [Pan-devel] Re: Ping K.Haley: latest testing bra nch updates, I get compiler error in post-ui.cc line 742: ‘_close’ not declared.
Date: Sun, 17 Oct 2010 08:21:39 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100911 Lightning/1.0b3pre Thunderbird/3.1.3

On 10/17/2010 03:48 AM, SciFi wrote:
> 
> Hi,
> 
> Just on a whim I thought I would scan the lostcoder activity and do a
> git-pull for the latest changes there on the testing branch.

The date on that change set is Oct 17, yesterday, so your whim must have
been sent to you by the computer gods.

> Now I am getting a compiler error:
>> post-ui.cc: In member function ‘void pan::PostUI::spawn_editor()’:
>> post-ui.cc:742: error: ‘_close’ was not declared in this scope

Here are the two relevant added lines from K.Haley's patch:

+#include <unistd.h>
+      _close(fd);

Grepping through unistd.h, I find the function 'close(fd)' but not
'_close(fd)', so I'm assuming for the moment that the underscore is
a typo.

I deleted the underscore and now pan compiles and runs, but I'm not
sure I'll be able to tell if pan does or doesn't "emit changed for
nodes without articles" :)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]