Apple's gcc can't handle deprecated attribute

Jeremy Huddleston Sequoia jeremyhu at macports.org
Fri Oct 5 01:54:25 PDT 2012


On Oct 4, 2012, at 10:28 AM, mk-macports at techno.ms wrote:

> On Oct 4, 2012, at 6:57 PM, Rainer Müller wrote:
>> This syntax is only supported as of gcc 4.5.0 [1,2].
> 
> Thanks Rainer for your advice!
> 
> I modified the two patches accordingly in r98400.


Looks like you made a copy/paste-o for one of them:

 -void result_free(result_t *r) __attribute__ ((weak, alias ("csvdb_free_result")));
-+void result_free(result_t *r);
++void result_free(result_t *r) __attribute__ ((deprecated));



More information about the macports-dev mailing list