🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Rex Jakobovits Fri, 31 Jul 1992 21:51
conflicting types
#70
Author: Rex Jakobovits
Date: Fri, 31 Jul 1992 21:51
27 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads