Bug 82883

Summary: cairo-wideint-private.h(122): warning #1890: the "__visibility__" attribute can only appear on functions and variables with external linkage
Product: cairo Reporter: lkh1515
Component: generalAssignee: Chris Wilson <chris>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.12.16   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description lkh1515 2014-08-21 00:36:03 UTC
I configured cairo-1.12.16 with icc & ifort. 
And then, I did "make".

I got an error message as follows.


********
make  all-recursive
make[1]: Entering directory `/home/ext/cairo-1.12.16'
Making all in src
make[2]: Entering directory `/home/ext/cairo-1.12.16/src'
 cd .. && /bin/sh /home/ext/cairo-1.12.16/build/missing --run automake-1.11 --foreign src/Makefile
 cd .. && /bin/sh ./config.status src/Makefile depfiles
config.status: creating src/Makefile
config.status: executing depfiles commands
make[2]: Leaving directory `/home/ext/cairo-1.12.16/src'
make[2]: Entering directory `/home/ext/cairo-1.12.16/src'
make  all-am
make[3]: Entering directory `/home/ext/cairo-1.12.16/src'
  CC     cairo-analysis-surface.lo
In file included from cairo-fixed-private.h(42),
                 from cairoint.h(2022),
                 from cairo-analysis-surface.c(37):
cairo-wideint-private.h(121): warning #1890: the "__visibility__" attribute can only appear on functions and variables with external linkage
  static cairo_always_inline cairo_int64_t I _cairo_double_to_int64 (double i) { return i; }
                                           ^

In file included from cairo-fixed-private.h(42),
                 from cairoint.h(2022),
                 from cairo-analysis-surface.c(37):
cairo-wideint-private.h(122): warning #1890: the "__visibility__" attribute can only appear on functions and variables with external linkage
  static cairo_always_inline double I _cairo_int64_to_double (cairo_int64_t i) { return i; }
  CC     cairo-arc.lo
In file included from cairo-fixed-private.h(42),
                 from cairoint.h(2022),
                 from cairo-arc.c(37):
cairo-wideint-private.h(121): warning #1890: the "__visibility__" attribute can only appear on functions and variables with external linkage
  static cairo_always_inline cairo_int64_t I _cairo_double_to_int64 (double i) { return i; }
                                           ^

In file included from cairo-fixed-private.h(42),
                 from cairoint.h(2022),
                 from cairo-arc.c(37):
cairo-wideint-private.h(122): warning #1890: the "__visibility__" attribute can only appear on functions and variables with external linkage
  static cairo_always_inline double I _cairo_int64_to_double (cairo_int64_t i) { return i; }
                                    ^

  CC     cairo-array.lo
In file included from cairo-fixed-private.h(42),
                 from cairoint.h(2022),
                 from cairo-array.c(39):
cairo-wideint-private.h(121): warning #1890: the "__visibility__" attribute can only appear on functions and variables with external linkage
  static cairo_always_inline cairo_int64_t I _cairo_double_to_int64 (double i) { return i; }
.
.
.
********

I got same error message when I did "./configure" or "./autogen.sh". And I am quite sure that I installed other software (like zlib, png, so on..) to install cairo. 

Do you have an any idea to solve this problem? I couldn't find the same error message on google. 

Thanks.
Comment 1 GitLab Migration User 2018-08-25 13:56:21 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/278.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.