strrchr / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Ubuntu 14.04: Invalid conversion in linuxthreads.cc breaks build #647

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?

Error during compile:

error: invalid conversion from ‘void (*)(int, siginfo_t*, void*)’ to 
‘void (*)(int, int*, void*)’

What version of the product are you using? On what operating system?

Using gperftools 2.0 on Ubuntu 14.04 (error occurs on Ubuntu 14.04, also using 
Ubuntu 10.04 & 12.04, Debian 6 & 7, RHEL 5 & 6, and SLES 11).

Please provide any additional information below.

This is very similar to issue # 444. That problem was solved with 
s/siginfo_t/siginfo/, but this appears to be solved with s/siginfo_t/int/. 
Making that change appears to compile correctly on all the operating systems 
mentioned above.

Original issue reported on code.google.com by s...@cloudera.com on 25 Aug 2014 at 6:11

GoogleCodeExporter commented 9 years ago
This is fixed in 2.1 and subsequent releases.

Original comment by alkondratenko on 25 Aug 2014 at 6:50

GoogleCodeExporter commented 9 years ago
Changed resolution to cannot reproduce. Please ensure that you try compilation 
of new release.

Original comment by alkondratenko on 25 Aug 2014 at 6:51