Summary: | editors/codelite: Set correct includepath if devel/check is installed (cause of check.h) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Walter Schwarzenfeld <w.schwarzenfeld> | ||||
Component: | Individual Port(s) | Assignee: | Mahdi Mokhtari <mmokhi> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | Flags: | mmokhi:
maintainer-feedback+
sunpoet: maintainer-feedback- |
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Walter Schwarzenfeld
2017-04-01 22:32:57 UTC
Works if I removed devel/check (/usr/local/include/check.h). /usr/local/include/check.h: all appearances of "TM" must changed to " TM ". So in case you believe the problem is with devel/check, I'll CC sunpoet@ here too. (In reply to w.schwarzenfeld from comment #1) That means the build process picked up the wrong check.h. You should fix the include path to use check.h in codelite source instead of that in /usr/local/include. The correct one: % ls -la sdk/codelite_cppcheck/lib/check.h -rw-r--r-- 1 root wheel 4660 Jan 2 16:08 sdk/codelite_cppcheck/lib/check.h (In reply to Po-Chuan Hsieh from comment #5) Okay, thanks for info, gonna take a deeper look on it. I don't know if you can repeat the error. Yesterday codelite update was part of a "big" update with gcc5 and four llvm compilers. Yesterday I could repeat the error. Today not, it seems solved. Maybe, it was something during this update. Please, tell me if I should close here. (In reply to w.schwarzenfeld from comment #7) Thanks for additional info. I'll try to build codelite on latest tree with all combinantion of options. If I could not reproduce the error, I'll close PR as 'not a bug' Regards. Seems my last statement was wrong. The error still exists. Found it: Got it to compile if I add to sdk/codelite_cppcheck/CMakeLists.txt set (CMAKE_INCLUDE_DIRECTORIES ON) include_directories(BEFORE "${CL_SRC_ROOT}/sdk/codelite_cppcheck/lib" ) Created attachment 182235 [details]
patch-sdk__codelite_cppcheck__CMakeLists_txt
(In reply to w.schwarzenfeld from comment #10) Oh great! I was still more-or-less digging for it. Thanks for speeding up ;-] great job. I'll apply/test the patch tonight :D ping! Hello! Forgotten? A commit references this bug: Author: mmokhi Date: Thu Jan 18 11:16:24 UTC 2018 New revision: 459322 URL: https://svnweb.freebsd.org/changeset/ports/459322 Log: editors/codelite: Fix build when devel/check is installed. Set correct include-path if devel/check is installed for check.h PR: 218297 Submitted by: w.schwarzenfeld@utanet.at Reported by: w.schwarzenfeld@utanet.at Changes: head/editors/codelite/files/ head/editors/codelite/files/patch-sdk_codelite__cppcheck_CMakeLists.txt Committed. Thanks :) |