[cairo-bugs] [Bug 82883] New: cairo-wideint-private.h(122): warning #1890: the "__visibility__" attribute can only appear on functions and variables with external linkage

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 20 17:36:03 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82883

          Priority: medium
            Bug ID: 82883
          Assignee: chris at chris-wilson.co.uk
           Summary: cairo-wideint-private.h(122): warning #1890: the
                    "__visibility__" attribute can only appear on
                    functions and variables with external linkage
        QA Contact: cairo-bugs at cairographics.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: lkh1515 at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 1.12.16
         Component: general
           Product: cairo

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20140821/8a23caef/attachment.html>


More information about the cairo-bugs mailing list