Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2016-06-13

| Channels | #marpa index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
04:33 idiosyncrat_ Maxim Vuets: Toki pona / Marpa talk in Amsterdam: https://www.youtube.com/watch?v=dpx8BKJJ14o
04:34 idiosyncrat_ But for some reason mysteriously "blocked in your country" for copyright.
04:35 idiosyncrat_ Those of you outside the US might be better luck.
05:32 idiosyncrat_ I've just uploaded Marpa-R3-4.001_013
05:36 idiosyncrat_ What do you do once you get your build working perfectly?  Add new stuff and see if it break, of course. :-)
05:36 idiosyncrat_ Previously (as part of the Kollos project) I wrote a Lua interface to Libmarpa, and I've pulled this into Marpa::R3.
05:37 idiosyncrat_ Good night!
05:50 ronsavage joined #marpa
06:02 CQ joined #marpa
06:06 ronsavage Marpa::R3-4.001_013: All tests pass. But 1 oddity: https://gist.github.com/ronsavage​/5322c1ce0d68798e2c98889bdec10581
06:08 shadowpaste "rns" at 217.168.150.38 pasted "Marpa-R3-4.001_013 -- warnings under cygwin" (6 lines) at http://fpaste.scsys.co.uk/522949
06:10 shadowpaste "rns" at 217.168.150.38 pasted "Marpa-R3-4.001_013 -- errors/warning under windows (msvc 2010)" (132 lines) at http://fpaste.scsys.co.uk/522951
06:11 rns Marpa::R3-4.001_013: cygwin ok.
06:15 ronsavage I should say there were various other warnings. I did not add them to the gist.
06:21 rns idiosyncat: windows compiler erros related to inline can be fixed by adding
06:21 rns #if _MSC_VER
06:21 rns #define inline __inline
06:21 rns #endif
06:22 rns to kollos.c
06:26 rns and #define __PRETTY_FUNCTION__ __FUNCTION__ before #endif
06:28 shadowpaste "rns" at 217.168.150.38 pasted "Marpa-R3-4.001_013 -- warning after patch per http://irclog.perlgeek.de/m​arpa/2016-06-13#i_12654019" (135 lines) at http://fpaste.scsys.co.uk/522956
06:29 rns and with the above warnings Marpa-R3-4.001_013 builds ok under windows
07:13 shadowpaste "rns" at 217.168.150.38 pasted "patch to kollos.c.lua per http://irclog.perlgeek.de/m​arpa/2016-06-13#i_12654019 to fix windows buid of Marpa-R3-4.001_013" (16 lines) at http://fpaste.scsys.co.uk/522966
07:14 rns s/buid/build/
10:32 kaare_ joined #marpa
12:16 rgrinberg joined #marpa
13:27 idiosyncrat_ joined #marpa
13:31 idiosyncrat_ ronsavage: re stamp-h1 permission issue -- it comes from autoconf, and I haven't looked at it.
13:32 idiosyncrat_ autoconf is like yacc or PEG -- you get it to the point where have it working well enough (or it doesn't work and you can't invest more time) and then you leave it alone.
13:55 idiosyncrat_ rns: Could you submit the MSC_VER patch -- http://irclog.perlgeek.de/m​arpa/2016-06-13#i_12654019 -- as a pull request.
13:56 idiosyncrat_ Then I'll start to fix up all those warnings.
13:57 rns idiosyncrat: sure -- will let you know soon.
13:57 idiosyncrat_ Great -- though I probably won't get to it for another 12 hours.
13:57 idiosyncrat_ Thanks!
14:19 rns idiosyncrat: here we are -- https://github.com/jeffreykegler/Marpa--R3/pull/30
14:20 idiosyncrat_ Thanks!
14:21 rns As an added bonus this also made all msvc warnings pasted above disappear automagically -- so one trouble down.
14:24 rns Now, that's because compiler command line for kollos.c is different -- cl -c  -I../lua -I../engine/read_only        -DMAKE_LIB
14:24 rns unlike, e.g. for one.c
14:25 rns cl -Feluac   -nologo -GF -W3 -O1 -MD -Zi -DNDEBUG -GL -DWIN32 -D_CONSOLE -DNO_STRICT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -O1 -MD -Zi -DNDEBUG -GL   -DWIN32 -DPERL_STATIC_SYMS -DMAKE_LUAC
14:25 rns so warnings are there, they are just not triggered -- will need to look into kollos build logic it
14:28 rns s/logic it/logic/
15:08 idiosyncrat_ Re the warnings.  I found that the warning flags in CCFLAGS all disappeared under ExtUtil::MakeMaker's disttest, I assume because CCFLAGS is overriden somewhere.
15:08 idiosyncrat_ So I put them all in a special macro -- MY_CCFLAGS
15:09 idiosyncrat_ That way EU::MM can do what it likes with CCFLAGS
15:15 rns I see -- I am now testing elsif ( $Config{'ccname'} eq 'cl' ) { ... } after if ( $Config{'ccname'} eq 'gcc' ) { ... } to ensure that warnings are enabled under windows to kollos and xs Makefile.PL
15:16 rns Ok if I file a PR if it goes well with make releng and under windows?
15:16 idiosyncrat_ rns: I'm adding -Wconversion to my gcc flags in the kollos compile
15:16 idiosyncrat_ A PR for the conversion warnings, you mean?
15:17 rns Nope, a PR to enable warnings for MS compilaer under windows in MY_CCFLAGS
15:17 idiosyncrat_ Yes, please create that.  Thanks!
15:17 rns Ok, will let you know.
15:18 idiosyncrat_ Re the conversion warnings, adding -Wconversion should let me do clean-up-and-test cycles here, and I think best to do those before resorting to the more awkward I-code-and-you-test method.
15:20 idiosyncrat_ Btw, I can't add -Wconversion for the xs code because too many of Perl's own macros, etc., raise warnings, and it's just too noisy.
15:21 idiosyncrat_ I'm leaving for an appointment.
15:21 idiosyncrat_ rns: Many thanks
15:21 idiosyncrat_ AFK
16:37 rgrinberg joined #marpa
17:10 rgrinberg joined #marpa
17:13 rgrinberg joined #marpa
17:20 CQ left #marpa
17:51 rgrinberg joined #marpa
18:06 rgrinberg joined #marpa
18:23 jdurand joined #marpa
18:33 sivoais joined #marpa
18:46 rgrinberg joined #marpa
20:58 idiosyncrat_ joined #marpa
22:21 rgrinberg joined #marpa
22:51 ronsavage joined #marpa

| Channels | #marpa index | Today | | Search | Google Search | Plain-Text | summary