Hi,

while trying to build a new port I ran into this compiler issue:
---
:info:build ../inc/csvdb.h:163: error: wrong number of arguments specified for 
'deprecated' attribute
---

The corresponding line of code is this:
---
void result_free(result_t *r) __attribute__ ((deprecated ("use 
csvdb_free_result")));
---

Looks like i686-apple-darwin10-gcc-4.2.1 can't handle this for some reason.

For now I've simply removed the whole attribute using a patch, but I wonder 
what would be a better way to deal with this...

Greets,
Marko
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to