IRC logs of #shogun for Tuesday, 2019-01-08

--- Log opened Tue Jan 08 00:00:18 2019
-!- besser82 [~besser82@fedora/besser82] has quit [Quit: Freedom, Friends, Features, First [fedoraproject.org]]11:56
-!- besser82 [~besser82@fedora/besser82] has joined #shogun11:57
-!- mode/#shogun [+o besser82] by ChanServ11:57
-!- wiking [~wiking@bmi-airport-1.inf.ethz.ch] has joined #shogun11:57
wikinglisitsyn: ping?15:29
-!- gf712 [905208cc@gateway/web/freenode/ip.144.82.8.204] has joined #shogun15:29
wikinggf712: hey there15:48
gf712hey!15:48
gf712I am not sure how to fix the msvc bug with the way the code is written right now. I can extract the return type of the lambda with some convoluted std::declval15:50
gf712it might be better to disable the checks with msvc, since its more of a development tool, and assume development is mainly done with gcc and clang15:51
wikingmmmm15:51
wikingyou reckon to guard it with macros?15:52
wikingi mean apparently this'll be fixed in 2019 version of visual studio15:52
gf712something like that. just make the alias be std::true_type15:52
wikingok i mean i'm fine with any temp fix for the time being, the question is whether we can sanely guard that part that fails15:53
-!- rcurtin [~ryan@knife.lugatgt.org] has quit [Quit: Lost terminal]15:53
gf712I'll give it a go, it shouldn't be too difficult I think15:53
-!- rcurtin [~ryan@knife.lugatgt.org] has joined #shogun15:53
wikinghttps://github.com/shogun-toolbox/shogun/blob/develop/src/shogun/lib/type_case.h#L227 is killing it15:54
wikingand this as well https://github.com/shogun-toolbox/shogun/blob/develop/src/shogun/lib/type_case.h#L24015:54
gf712yup, msvc doesn't like that template there15:54
gf712even if we fixed the first one15:54
wikingyep15:55
wikingi haven't managed to test with 2019 preview what are the remaining errors15:55
wikingand azure does not provide CI host for it15:55
gf712is there a macro to get the msvc version?15:55
wikingyes15:55
wiking_MSC_VER15:56
gf712I don't have a windows machine or vm at hand to try it out, but I can start a PR with a macro to disable the lambda tests on msvc15:57
wikinggimme the patch15:57
wikingand i can push it15:57
wikingcoz for your pr you would need to fork my branch15:57
gf712ah ok, shall I email it to you when its ready?15:57
wikingyes15:57
wikingthnx15:57
gf712it'll just be a couple of lines15:57
gf712cool!15:58
wiking#if _MSC_VER >= 192015:59
wikingthat's 201915:59
gf712ok, thanks!16:00
-!- wiking [~wiking@bmi-airport-1.inf.ethz.ch] has quit [Ping timeout: 252 seconds]16:48
-!- wiking [~wiking@bmi-airport-1.inf.ethz.ch] has joined #shogun16:51
wikinggf712: got it lemme test it16:52
gf712ok, sent you an updated version, it should be _MSVC_VER < 192016:53
wikinggf712: yeah i realised did that change manually ;)16:56
wikinggf712: https://dev.azure.com/shogunml/shogun/_build/results?buildId=19516:56
wikingit'll take a good hour to get it tested16:56
gf712OK! hopefully it'll work..16:59
wikingfingerz crossed16:59
wikingif it passes i'll merge that branch into develop16:59
wikingand then hopefully the compiler cache will work as well16:59
wiking;)16:59
gf712OK! lets see.. I'll try and find a better solution in the meantime17:06
gf712I'm curious if it works with msvc 201917:07
wikingmmm yeah needs testing... i'll have access to a windows sometime next week..17:14
gf712it seems like msvc doesn't like 'not' and 'and' in the templates18:02
wikinggf712: yeah the patch reversed the fixes i had in that branch :Facepalm:18:05
wikingi had a fix for that separetely already18:05
wikingok i've pushed again18:05
wikinglets see in 1h18:05
wiking:D18:05
gf712sorry, I only noticed that after sending you the code!18:05
wikingno worries18:06
wikingi should have spotted it as well18:06
wikingok i'm off to climb18:06
wikingwill check on it once i'm back18:07
wikingttyl18:07
-!- gf712 [905208cc@gateway/web/freenode/ip.144.82.8.204] has quit [Ping timeout: 256 seconds]18:10
-!- wiking [~wiking@bmi-airport-1.inf.ethz.ch] has quit [Ping timeout: 250 seconds]18:19
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun18:42
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Ping timeout: 245 seconds]19:03
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun19:18
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Ping timeout: 250 seconds]21:01
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun21:02
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Ping timeout: 258 seconds]21:13
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun21:20
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Ping timeout: 258 seconds]23:27
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun23:35
--- Log closed Wed Jan 09 00:00:20 2019

Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!