Opened 13 years ago
Last modified 13 years ago
#31983 closed defect
build errors grads2 on lion — at Initial Version
Reported by: | kgh03@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | clang | Cc: | |
Port: | grads2 |
Description
grads2 build fails begining here:
:info:build gagx.c:3882:40: error: unknown type name 'DBFFieldType'
:info:build struct dbfld* newdbfld (char *fldname, DBFFieldType dbtype, gaint len, gaint prec,
:info:build
:info:build gagx.c:3889:37: error: invalid application of 'sizeof' to an incomplete type 'struct d
bfld'
:info:build newfld = (struct dbfld *) galloc (sizeof(struct dbfld),"dbfld");
:info:build
:info:build ./grads.h:857:8: note: forward declaration of 'struct dbfld'
:info:build struct dbfld* parsedbfld (char *);
:info:build
:info:build gagx.c:3891:5: error: incomplete definition of type 'struct dbfld'
:info:build strcpy(newfld->name,fldname);
:info:build ~
:info:build /usr/include/secure/_string.h:87:5: note: instantiated from:
:info:build ((darwin_obsz0 (dest) != (size_t) -1) \
:info:build