Re: Ping K.Haley: latest testing bra nch updates, I get compiler error in post-ui.cc line 742: ‘_close’ not declared.

walt <[email protected]>
Newsgroups gmane.comp.gnome.apps.pan.devel
Message-ID <[email protected]>
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" :)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.