Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 526182 Details for
Bug 652054
=app-office/texmacs-1.99.6-r2 fails to build on 32-bit systems: guile_tm.cpp:374:29: error: invalid conversion from 'int*' to 'size_t* {aka unsigned int*}' [-fpermissive]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
texmacs-1.99.6-guile-size_t.patch
texmacs-1.99.6-guile-size_t.patch (text/plain), 724 bytes, created by
Sergei Trofimovich (RETIRED)
on 2018-03-30 22:33:35 UTC
(
hide
)
Description:
texmacs-1.99.6-guile-size_t.patch
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2018-03-30 22:33:35 UTC
Size:
724 bytes
patch
obsolete
>Use C++ to test for int/size_t test. C can't distinct between those two. >https://bugs.gentoo.org/652054 >diff --git a/CMakeLists.txt b/CMakeLists.txt >index 37e9e87..5de2711 100644 >--- a/CMakeLists.txt >+++ b/CMakeLists.txt >@@ -274,11 +274,11 @@ SET(CMAKE_REQUIRED_FLAGS "-Werror ${Guile_CFLAGS}") > SET(CMAKE_REQUIRED_INCLUDES ${Guile_INCLUDE_DIRS}) > SET(CMAKE_REQUIRED_LIBRARIES ${Guile_LIBRARIES}) > > MESSAGE(STATUS "Checking the size_t of guile strings") > >-CHECK_C_SOURCE_COMPILES( "#include <guile/gh.h> >+CHECK_CXX_SOURCE_COMPILES( "#include <guile/gh.h> > #include <libguile.h> > void print_string (SCM s) { > int len_r; > char* r= gh_scm2newstr (s, &len_r); } int main() { return 0; } > " _guile_str_size_test)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 652054
:
526180
| 526182