Re: Ping K.Haley: latest test ing branch 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/18/2010 05:09 PM, K. Haley wrote:
>   On 10/17/2010 9:21 AM, walt wrote:
>> On 10/17/2010 03:48 AM, SciFi wrote:
>>
>>> Now I am getting a compiler error:
>>>> post-ui.cc:742: error: ‘_close’ was not declared in this scope

>> so I'm assuming for the moment that the underscore is a typo.

> It's not a typo.  Non-standard names like close are supposed to have an
> _ prefix.  My headers have both versions  I changed it when I was
> testing with the --std=c++0x option which disables such names.

Ah, I just noticed that io.h from msvcrt does indeed define it:
io.h:int         __cdecl _close(int);

Is that the reason you test for _close()?

> By the way, is the xface handling correct?  I can't tell if the colors
> are inverted.

I'm not aware of seeing any posts or emails using xface.  I can try
posting a message with an x-face header but I don't know how to create
the picture file.  Would pan post such a message if I add the x-face
header correctly?
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.