Article View: gnu.g++.help
Article #70conflicting types
From: Rex Jakobovits
Date: Fri, 31 Jul 1992 21:51
Date: Fri, 31 Jul 1992 21:51
27 lines
1177 bytes
1177 bytes
Hi, I've been running into some problems while trying to compile g++ programs on a sparc. My program includes the file: /usr/local/lib/g++-include/unistd.h which eventually includes definitions from /usr/include/sys/stdtypes.h and /usr/local/lib/g++-include/stddef.h These system files both declare 'ptrdiff_t', but one as an int and one as a long int. Thus a fatal error occurs. It is important for our project that I find out what's wrong as soon as possible (i.e. am I compiling with the wrong include paths?), and any advice (or at least a pointer to advice) would be greatly appreciated. --rex -- Rex Jakobovits (rex@cs.washington.edu) Dept. of Computer Science University of Washington
Technical Details
Message-ID:
<1992Jul31.215141.20254@beaver.cs.washington.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!sdd.hp.com!caen!batcomputer!cornell!uw-beaver!rexShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!sdd.hp.com!caen!batcomputer!cornell!uw-beaver!rex From: rex@cs.washington.edu (Rex Jakobovits) Subject: conflicting types Message-ID: <1992Jul31.215141.20254@beaver.cs.washington.edu> Sender: news@beaver.cs.washington.edu (USENET News System) Organization: Computer Science & Engineering, U. of Washington, Seattle Date: Fri, 31 Jul 92 21:51:41 GMT Lines: 27