« first day (2130 days earlier)      last day (1358 days later) » 

12:11 AM
@FélixGagnon-Grenier RUSTFLAGS is for passing flags to rustc; -std is a flag for the C and C++ compilers. Normally, flags for the C/C++ compiler are specified by the build script. The build script you're interested in is this. It looks like it assumes the Edge webview will be used with an MSVC toolchain, since it only specifies /std:c++17 (which is the syntax for MSVC).
I don't know if MinGW even provides the necessary headers and import libraries to compile webview_edge.cpp anyway. Also, your MinGW must be fairly old (GCC 4.8.3, I presume?), because recent g++ assumes C++11 or more recent by default (e.g. g++ 10 assumes C++14 by default).
 
... yes, exactly 4.8.3
I'm... fairly certain I did not install that in 2013 however ;)
at this point, I would like to ask if the toolchain you mention here is the rustup toolchain, that I can see using rustup toolchain list, or rather the set of various c++ files and compilers I installed in my various attempts?
I think I vaguely understand that those are not the same
enabling the stable-msvc rustup toolchain does seem to get the script farther away, with many other delightful error messages
so, the gcc version used comes from an installation of win-builds I made today
checking the gcc from that is indeed the old 4.8.3 version whereas the one from the mingw install is at 8.1.0
I will conclude that win-builds is not something I should be using?
 
1:10 AM
@FélixGagnon-Grenier considering the latest news are from 2014-2015, no :P
I believe the latest GCC on Windows available is from the MinGW-w64 project, which has GCC 8.1.0.
it feels like MinGW has been losing steam since Microsoft released VS Community with a free (as in beer) C++ compiler
(there was VC++ Express before, but it lacked some libraries, either MFC, ATL, or both)
 
 
10 hours later…
10:45 AM
@FrancisGagné "Qui mieux que renaud peut entretenir votre renaud ?"
 
 
3 hours later…
2:13 PM
Structure, sequence and organization (SSO) is a term used in the United States to define a basis for comparing one software work to another in order to determine if copying has occurred that infringes on copyright, even when the second work is not a literal copy of the first. The term was introduced in the case of Whelan v. Jaslow in 1986. The method of comparing the SSO of two software products has since evolved in attempts to avoid the extremes of over-protection and under-protection, both of which are considered to discourage innovation. More recently, the concept has been used in Oracle...
why is copyright law so complicateeeeeeed
 
And why it has not been replaced by copyleft? :rolling_eyes: :sweat_smile:
 
2:46 PM
well my issue right now is about translating trivial inline C functions to Rust as part of a low-level bindings library, specifically github.com/losnoco/vgmstream/blob/…
are these functions eligible for copyright, meaning attribution etc. is required? or are they so simple that I can claim the idea-expression merger as a defense for copying without attribution?
 
3:03 PM
@FrancisGagné Well, I'm no lawyer neither anyone in this room as far as I know so I don't think we could help you sort out this. However, my advice is to contact the project maintainer and ask them directly, tell them what you are about to do, and ask them if this is something that is allowed. That's my best bet for the time being, though I'm more than willing to learn so if there are better suggestions, I'm all ears!
That being said, looking at the 3 linked functions I can already tell you, that there's no copyright law that can help anyone defending a case against stealing these particular ones. They are so simple, so generic and so bound to the "idea" (as your merger link mentioned) that they could hardly be copyrighted.
Either way though, if you want to play safely, ask the maintainers -- there's no harm in that, is there?
 
maybe one day disallow code that are not rustfmt - -
work with nom is painful
 
3:24 PM
@FrancisGagné One must prove you copy them... this is so trivial I don't see any case where you could be blame
 
4:20 PM
@Stargateur I tried it a few times and ended up using something else.
 
5:07 PM
@PeterHall well I like the API
what do you use so ?
 
 
1 hour later…
6:15 PM
@Stargateur Haskell :)
I also used pest, which I feel more at home with because I'm used to Antlr. I didn't like some aspects of it but that was over a year ago and I think they worked on a new version
 
@PeterHall what do you use IN RUST to parse xd
@PeterHall pest doesn't lex sooooo
 
6:34 PM
@Stargateur doesn't it lex?
I thought it had separate lexer and parser
it's been a while
 

« first day (2130 days earlier)      last day (1358 days later) »