From 31534f264cb5bb9cbbcf2cf82dfe9cb7ea021726 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 20 Dec 2004 07:32:45 +0000 Subject: Add bug about gcc 3.4 warning: '__visibility__' attribute ignored on non-class types. Remove __internal_linkage macro from all functions returning pointers to shut up warning from gcc 3.4. --- BUGS | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'BUGS') diff --git a/BUGS b/BUGS index e7baa3fcb..9e0356c54 100644 --- a/BUGS +++ b/BUGS @@ -1,3 +1,15 @@ +As of gcc 3.4, all uses of the __internal_linkage macro on +functions returning pointers to structured types are causing a +warning of the form: + +cairoint.h:406: warning: `__visibility__' attribute ignored on non-class types + +I'm commenting these out to shut up the compiler, and tagging each +case with "XXX-NON-CLASS:". We should determine if these uses should be +removed completely or if they can be fixed in some way. + +-- + The caches need to be invalidated at font destruction time. -- -- cgit v1.2.1