<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:tzpfzdjwjt@justnowmail.com" title="Gab <tzpfzdjwjt@justnowmail.com>"> <span class="fn">Gab</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Build failure with 2.12.3"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101280">bug 101280</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Build failure with 2.12.3"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101280#c18">Comment # 18</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Build failure with 2.12.3"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101280">bug 101280</a>
              from <span class="vcard"><a class="email" href="mailto:tzpfzdjwjt@justnowmail.com" title="Gab <tzpfzdjwjt@justnowmail.com>"> <span class="fn">Gab</span></a>
</span></b>
        <pre>
The version 2.12.6 of Fontconfig still has this problem of conflicting types of
parameters of the functions FcObjectTypeHash() and FcObjectTypeLookup(), if
compiled in a directory other than the directory "fontconfig-2.12.6".

I obtained the source from
<a href="https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.12.6.tar.gz">https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.12.6.tar.gz</a>


### I did the following

mkdir fontconfig-2.12.6-build
cd fontconfig-2.12.6-build
../fontconfig-2.12.6/configure
make


### Actual Result

The "make" was terminated with the following error messages.


In file included from fontconfig-2.12.6/src/fcobjs.c:33:
fcobjshash.gperf:28:1: error: conflicting types for 'FcObjectTypeHash'
FcObjectTypeHash (register const char *str, register size_t len)
^
fontconfig-2.12.6/src/fcobjs.c:28:1: note: previous declaration is here
FcObjectTypeHash (register const char *str, register FC_GPERF_SIZE_T len);
^
In file included from fontconfig-2.12.6/src/fcobjs.c:33:
fcobjshash.gperf:166:1: error: conflicting types for 'FcObjectTypeLookup'
FcObjectTypeLookup (register const char *str, register size_t len)
^
fontconfig-2.12.6/src/fcobjs.c:31:1: note: previous declaration is here
FcObjectTypeLookup (register const char *str, register FC_GPERF_SIZE_T len);
^
2 errors generated.
make[3]: *** [fcobjs.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


### Workaround

By configuring and compiling in the directory "fontconfig-2.12.6" instead of
"fontconfig-2.12.6-build", this problem of conflicting types can be avoided,
and the "make" successfully completes.

    rm -r fontconfig-2.12.6-build
    rm -r fontconfig-2.12.6
    tar -xpf fontconfig-2.12.6.tar.gz

cd fontconfig-2.12.6
./configure
make


### Environment

Fontconfig 2.12.6
Mac OS X
Intel 64-bit</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>