🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Sean Callahan 5-3309 Tue, 28 Jul 1992 23:24
protoize bug
#303
Author: Sean Callahan 5-3309
Date: Tue, 28 Jul 1992 23:24
37 lines
1293 bytes
I have an approximately 2000 line C sourcefile. It has a globally scoped 
external variable defined in the file as shown below.

AllIntersect CMAISP;

where AllIntersect is defined in an included header file as

typedef struct AllIntersect AllIntersect;

struct AllIntersect {
	IheaderP head, tail;
	int total;
	int total_headers;
};

CMAISP is used throughout the file over 100 times. No errors are reported 
until line 1508 where protoize complains that 

`CMAISP' undeclared (first use this function)

and protoize fails.

I can fix the problem by inserting 

extern AllIntersect CMAISP; 

above the function where the complaints begin...but that is obviously
not acceptable.  I am converting a program consisting of 60 large 
source files!

If you can be of any help I would greatly appreciate it!

The version is 2.2.2.2

Thankyou,
Sean Callahan
seanc@atc.boeing.com
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