Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 449376

Summary: app-office/texmaker-3.5.2 fails to compile with clang-3.2
Product: Gentoo Linux Reporter: Julian Ospald <hasufell>
Component: New packagesAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: normal CC: jlec, mgorny, ryao, voyageur
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: texmaker-3.5.2:20121230-234721.log

Description Julian Ospald 2012-12-30 23:50:08 UTC
Created attachment 333816 [details]
texmaker-3.5.2:20121230-234721.log

# clang --version
clang version 3.2 (tags/RELEASE_32/final)
Target: x86_64-pc-linux-gnu
Thread model: posix

# cat /etc/portage/env/clang
FEATURES="-ccache -buildpkg -distcc -splitdebug"
USE="clang"
CC=clang
CXX=clang++
CFLAGS="-march=core2 -O3 -Wall"
CXXFLAGS="${CFLAGS}"
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-01-12 14:56:46 UTC
What does this error mean? How do I fix that?
Comment 2 Richard Yao (RETIRED) gentoo-dev 2013-01-12 16:47:17 UTC
It looks like there is a comma before the semicolon, which is illegal. Remove the comma and it should work.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2013-01-12 18:55:21 UTC
 
+  12 Jan 2013; Justin Lecher <jlec@gentoo.org> texmaker-3.5.2.ebuild,
+  +files/texmaker-3.5.2-clang.patch:
+  Add fix for clang, #449376
+