<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Compilation fails to 'DBL_EPSILON undeclared'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=53128#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Compilation fails to 'DBL_EPSILON undeclared'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=53128">bug 53128</a>
              from <span class="vcard"><a class="email" href="mailto:yugiohjcj@1s.fr" title="YuGiOhJCJ <yugiohjcj@1s.fr>"> <span class="fn">YuGiOhJCJ</span></a>
</span></b>
        <pre>Same problem here while cross-compiling cairo-1.12.16.

I am on a Linux 32 bit operating system (Slackware 14.1) and I have a
cross-compiler based on:
- binutils-2.24.51
- gcc-4.9.1
- mingwrt-3.20.2
- w32api-3.17.2

Here is how to reproduce:
$ PKG_CONFIG_PATH="/usr/i686-pc-mingw32/lib/pkgconfig"
$ ./configure --prefix=/usr/i686-pc-mingw32 --host=i686-pc-mingw32
--disable-lto --disable-gtk-doc --disable-test-surfaces --disable-gcov
--disable-xlib --disable-xlib-xrender --disable-xcb --disable-quartz
--disable-quartz-font --disable-quartz-image --disable-os2 --disable-beos
--disable-directfb --disable-atomic --enable-win32 --enable-win32-font
--enable-png --enable-ft --enable-ps --enable-pdf --enable-svg
--disable-pthread
$ make
[...]
  CC     cairo-matrix.lo
cairo-matrix.c: In function '_cairo_matrix_to_pixman_matrix_offset':
cairo-matrix.c:1172:24: error: 'DBL_EPSILON' undeclared (first use in this
function)
       if (fabs (den) < DBL_EPSILON)
                        ^
cairo-matrix.c:1172:24: note: each undeclared identifier is reported only once
for each function it appears in
make[3]: *** [cairo-matrix.lo] Error 1
make[3]: Leaving directory `/tmp/build/cairo-1.12.16/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/build/cairo-1.12.16/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/build/cairo-1.12.16'
make: *** [all] Error 2

Any idea to solve this problem?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>