Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 1998 09:42:46 -0600
From:      Glenn Johnson <gjohnson@nola.srrc.usda.gov>
To:        hackers@FreeBSD.ORG
Subject:   cpp error with POSIX defines
Message-ID:  <199810271542.JAA04150@symbion.srrc.usda.gov>

next in thread | raw e-mail | index | archive | help
Can someone help me decode this output:

from file mdfork.F, line 10:
#include <sys/types.h>
cpp: line 90, Error: misplaced constant in #if
 (_POSIX_VERSION  >= 199309L && defined(_POSIX_C_SOURCE) && \
from file /usr/include/sys/unistd.h, line 40:
#include <sys/_posix.h>
from file /usr/include/unistd.h, line 41:
#include <sys/unistd.h>
from file mdfork.F, line 11:
#include <unistd.h>
cpp: line 90, Warning: Unexpected text in #control line ignored
 (_POSIX_VERSION  >= 199309L && defined(_POSIX_C_SOURCE) && \
from file /usr/include/sys/unistd.h, line 40:
#include <sys/_posix.h>
from file /usr/include/unistd.h, line 41:
#include <sys/unistd.h>
from file mdfork.F, line 11:
#include <unistd.h>
1 error in preprocessor
gmake: *** [mdfork.o] Error 1


I seem to be having trouble with <sys/_posix.h>

Thanks in advance.
-- 
Glenn Johnson
Technician
USDA, ARS, SRRC
New Orleans, LA



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810271542.JAA04150>