IRC log for #brlcad on 20160817

00:14.46*** join/#brlcad Ch3ck (~Ch3ck@66-118-151-70.static.sagonet.net)
00:28.45*** join/#brlcad merzo (~merzo@195-28-133-95.pool.ukrtel.net)
00:41.56*** join/#brlcad qpgtvklzimihudpc (~armin@dslb-092-074-243-149.092.074.pools.vodafone-ip.de)
00:47.15*** join/#brlcad Ch3ck (~Ch3ck@66-118-151-70.static.sagonet.net)
01:07.56*** join/#brlcad Ch3ck (~Ch3ck@66-118-151-70.static.sagonet.net)
01:10.26starseekersrc/libbu/redblack.c:892:6: error: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
01:10.29starseeker<PROTECTED>
01:14.35starseekerI think this may be the same thing I was bouncing back and forth on - keeping gcc and clang happy at the same time...
01:19.21*** join/#brlcad Ch3ck (~Ch3ck@66-118-151-70.static.sagonet.net)
02:19.02brlcadstarseeker: hm, okay -- I can work around that I think
02:20.20brlcadstarseeker: bizarre build error encountered, could use your insight
02:21.13brlcadpedro (freebsd dev) is reporting a curious build failure where it finds uuid/uuid.h during cmake but then fails compilation of src/libbu/uuid.c because it can't find the header
02:22.10brlcadlooks like the header is properly installed in /usr/local/include and our top-level CMakeLists.txt file adds it to CMAKE_PREFIX_PATH and CMAKE_REQUIRED_INCLUDES
02:22.45brlcadthis seems to cause -I/usr/local/include flags during cmake, but not during make thus causing the error
02:27.18Notify03BRL-CAD:brlcad * 68702 brlcad/trunk/CMakeLists.txt: check for uuid.h not stashed into a subdir too. observed install path on FreeBSD
02:28.41Notify03BRL-CAD:brlcad * 68703 brlcad/trunk/src/libbu/uuid.c: check both in subdir and not for a system uuid.h
02:42.27Notify03BRL-CAD:brlcad * 68704 brlcad/trunk/src/libbu/redblack.c: not strictly valid, but good enough for printing a debug line and should quell the conversion warning. go to an integer type before going to void. note that compilers have extreme flexibility as to how they encode function pointers, so the value printed is essentially meaningless (it could be a string)
02:59.28starseekerbrlcad: um... I think the "usual" pattern there would be to define a UUID_INCLUDE_DIR variable when the header was found and add that to the include directories for that library, but /usr/local/include is surprising
03:01.03brlcadthis isn't specific to uuid, it just happens to be the header in this situation
03:01.27brlcadit's a system header found, but the system path isn't on the compile list
03:01.59brlcadwith autotools, we manually included -I, and presumably setting CMAKE_REQUIRED_INCLUDES and CMAKE_PREFIX_PATH does that ... but it seemingly is not??
03:03.17brlcadthinks something like this would make for a good repo test: http://stackoverflow.com/questions/16429376/how-can-i-let-cmake-check-whether-my-headers-are-self-sufficient
03:03.46brlcad... try compiling all our public headers as C and C++ headers, make sure they are self-contained
03:06.45starseekeroh, this bit?  check_include_files("${header_files}" IS_STANDALONE)
03:08.03starseekerbeen a while since I looked at the bit setting up the default system includes - I'll check it tomorrow
03:09.04starseekeragrees that would be a good check
03:09.12starseeker(IS_STANDALONE)
03:10.28brlcadapparently that SO discussion leads me to believe it won't work with check_include_files()
03:11.51starseekerhmm.
03:11.54brlcadbut that it is manually possible with check_include_file() and check_include_file_cxx()
03:12.05brlcad(the first answer)
03:13.07starseekerwill have to try some experiments
03:13.25starseekerlibbu building here, by the way (gcc)
03:14.44Notify03BRL-CAD:brlcad * 68705 brlcad/trunk/CMakeLists.txt: really go the distance to ensure /usr/local/include is included in the compilation cppflags, not just during cmake
03:16.15brlcadthat should do the trick, a bit aggressive, but should be safe I think
03:20.21Notify03BRL-CAD:brlcad * 68706 brlcad/trunk/CMakeLists.txt: might as well be consistent. this doesn't matter on platforms lacking /usr/include (e.g., windows)
03:30.39*** join/#brlcad amarjeet (~Amarjeet@101.211.232.164)
04:19.31brlcadhm, interesting non-coding piece about personalities on github: https://github.com/raganwald/presentations/blob/master/optimism.md
05:11.14*** join/#brlcad Stragus (~alexis@modemcable090.29-19-135.mc.videotron.ca)
05:12.11*** join/#brlcad kintel_ (~kintel@unaffiliated/kintel)
05:24.15*** join/#brlcad amarjeet (~Amarjeet@101.211.232.164)
05:34.06*** join/#brlcad amarjeet (~Amarjeet@101.211.232.164)
05:35.13*** join/#brlcad tandoorichick (3d0c28b1@gateway/web/freenode/ip.61.12.40.177)
06:49.12*** join/#brlcad teepee_ (~teepee@unaffiliated/teepee)
06:55.50*** join/#brlcad Caterpillar (~caterpill@unaffiliated/caterpillar)
08:02.36*** join/#brlcad sniok (~sniok@89.252.2.135)
08:22.31*** join/#brlcad d_rossberg (~rossberg@104.225.5.10)
09:09.48*** join/#brlcad tandoorichick (b64b2de1@gateway/web/freenode/ip.182.75.45.225)
09:17.08*** join/#brlcad merzo (~merzo@user-94-45-58-141.skif.com.ua)
09:25.31*** join/#brlcad sniok (~sniok@89.252.2.135)
09:46.04*** join/#brlcad merzo (~merzo@92.60.189.225)
10:08.06*** join/#brlcad merzo (~merzo@92.60.189.225)
10:14.57*** join/#brlcad merzo (~merzo@92.60.189.225)
10:29.22*** join/#brlcad merzo (~merzo@92.60.189.225)
10:38.21*** join/#brlcad merzo (~merzo@92.60.189.225)
10:45.38*** join/#brlcad merzo (~merzo@user-94-45-58-141.skif.com.ua)
10:57.01*** join/#brlcad amarjeet (~Amarjeet@202.164.53.117)
10:59.10*** join/#brlcad amarjeet_ (~Amarjeet@202.164.53.117)
11:03.10*** join/#brlcad amarjeet (~Amarjeet@202.164.53.117)
11:06.28*** join/#brlcad amarjeet_ (~Amarjeet@202.164.53.117)
11:19.51*** join/#brlcad sniok (~sniok@89.252.2.135)
11:57.29*** join/#brlcad asad_ (~asad00@host10-2.natpool.mwn.de)
12:54.22*** join/#brlcad merzo (~merzo@user-94-45-58-141.skif.com.ua)
13:14.07*** join/#brlcad yorik (~yorik@187.35.8.25)
13:35.27*** join/#brlcad kintel (~kintel@unaffiliated/kintel)
14:00.06*** join/#brlcad amarjeet (~Amarjeet@101.211.245.252)
14:08.27*** join/#brlcad asad_ (~asad00@host10-2.natpool.mwn.de)
14:17.29*** join/#brlcad amarjeet (~Amarjeet@101.211.245.252)
14:18.09*** join/#brlcad amarjeet (~Amarjeet@101.211.245.252)
14:49.38*** join/#brlcad amarjeet (~Amarjeet@101.211.242.61)
15:12.59*** join/#brlcad amarjeet (~amarjeet@101.211.242.61)
15:18.27*** join/#brlcad sniok (~sniok@89.252.2.135)
16:24.33*** join/#brlcad amarjeet_ (~Amarjeet@101.211.242.61)
16:56.31*** join/#brlcad amarjeet_ (~Amarjeet@101.211.223.228)
17:08.59*** join/#brlcad tandoorichick (b64b2d01@gateway/web/freenode/ip.182.75.45.1)
17:14.04*** join/#brlcad amarjeet (~amarjeet@101.211.241.6)
17:22.32*** join/#brlcad ickby (~stefan@x5d8461cd.dyn.telefonica.de)
17:25.46*** join/#brlcad amarjeet (~Amarjeet@101.211.245.41)
17:25.58*** join/#brlcad sniok (~sniok@89.252.2.135)
17:26.25*** join/#brlcad amarjeet (~Amarjeet@101.211.245.41)
17:31.46*** join/#brlcad amarjeet (~Amarjeet@101.211.230.112)
17:37.19*** join/#brlcad amarjeet_ (~amarjeet@101.211.230.112)
17:40.35*** join/#brlcad teepee_ (~teepee@unaffiliated/teepee)
17:54.42*** join/#brlcad Stragus (~alexis@modemcable090.29-19-135.mc.videotron.ca)
18:39.54*** join/#brlcad ickby (~stefan@x5d8461cd.dyn.telefonica.de)
18:42.10*** join/#brlcad Stragus (~alexis@modemcable090.29-19-135.mc.videotron.ca)
18:45.55*** join/#brlcad merzo (~merzo@88-249-94-178.pool.ukrtel.net)
18:54.02*** join/#brlcad ickby_ (~stefan@x5d8461cd.dyn.telefonica.de)
20:15.33*** join/#brlcad asad_ (~asad00@host10-2.natpool.mwn.de)
20:30.27Notify03BRL-CAD:brlcad * 68707 (brlcad/trunk/include/bu/str.h brlcad/trunk/src/libbu/booleanize.c): add recognition for on/off as boolean string values for cmake-style compatibility and convenience with env var string parsing. removed t/T/f/F for true/false, but still need to make sure nobody was relying on that shorthand (tcladjust in particular). made all testing case-insensitive. fixed the unreachable final return.
20:32.16Notify03BRL-CAD:brlcad * 68708 brlcad/trunk/TODO: note to self, need to check usages
20:48.43Notify03BRL-CAD:starseeker * 68709 brlcad/trunk/src/tclscripts/tkcon.tcl: we don't want tkcon hijacking dir on the MGED command prompt.
20:57.50*** join/#brlcad teepee_ (~teepee@unaffiliated/teepee)
22:14.02*** join/#brlcad Ch3ck (~Ch3ck@66-118-151-70.static.sagonet.net)
23:35.56Notify03BRL-CAD Wiki:Tandoorichick * 9820 /wiki/User:Tandoorichick/GSoC2016/Logs: /* Development Logs */

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.