This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: free function in 300.twolf



extern void free (MT *,int);

at the beginning of mt.c file solved the problem.

The free function used here is not built-in one.

Actually it is the builtin one but declared incorrectly. SPEC has a src.alt that fixes this; it basically entails removing the second argument of free in the sole spot where free is used with two arguments (which is only once, in lists.h).


Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]