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

_PC_VDISABLE cpp problem



Hi,

when trying to compile eso-midas, I get the following error [1]:

In file included from /usr/include/unistd.h:202:0,
                 from ost.c:67:
ost.c: In function 'inhibit':
ost.c:181:34: error: missing binary operator before token "char"
 #if defined(_POSIX_VDISABLE) && (_POSIX_VDISABLE != -1)

This problem is caused by a

#define _POSIX_VDISABLE ((unsigned char)'\377')

if one does a

#include <termios.h>
#include <unistd.h>

The definition above is not parseable by the preprocessor.
Do you have an idea how I can fix this?

Best regards

Ole

[1]
https://buildd.debian.org/status/fetch.php?pkg=eso-midas&arch=kfreebsd-amd64&ver=13.09pl1.2%2Bdfsg-2&stamp=1401954371


Reply to: