err0r3o3_ has quit [Ping timeout: 240 seconds]
knttl has quit [Ping timeout: 255 seconds]
knttl has joined #neo900
_whitelogger has joined #neo900
ArturShaik has joined #neo900
ArturSha1 has joined #neo900
ArturShaik has quit [Ping timeout: 276 seconds]
ArturSha1 has quit [Ping timeout: 240 seconds]
ArturSha1 has joined #neo900
<metacollin> wpwrak: undelete is a reserved function in POSIX systems and is in one of the standard headers that gets included, so it has to be changed to a different name for it to compile on a POSIX compatible system
Pali has joined #neo900
ArturSha1 has quit [Ping timeout: 240 seconds]
louisdk has joined #neo900
err0r3o3_ has joined #neo900
metacollin has quit [Quit: https://metacollin.com/NLTtKkA.gif]
pkircher_ has joined #neo900
pkircher has quit [Ping timeout: 240 seconds]
pkircher_ is now known as pkircher
louisdk has quit [Ping timeout: 260 seconds]
ctag has quit [Ping timeout: 260 seconds]
pkircher has quit [Quit: pkircher]
chainsawbike has quit [Ping timeout: 260 seconds]
chainsawbike has joined #neo900
pkircher has joined #neo900
ArturSha1 has joined #neo900
metacollin has joined #neo900
HTTP_____GK1wmSU has joined #neo900
HTTP_____GK1wmSU has left #neo900 [#neo900]
<wpwrak> metacollin: okay, that means that no #ifdef is really needed. now, the 2nd problem is that i can't find any indication that undelete is defined in posix, i.e., here: http://pubs.opengroup.org/onlinepubs/9699919799/
<wpwrak> so it's either NOT in posix, meaning that the mac headers don't conform, but and there may be a way to make them conform (e.g., through a feature test macro), or it's anticipating some unpublished version of POSIX. alas, http://www.manpagez.com/man/2/undelete/ (if that's the right reference) doesn't sat how it relates to POSIX
<metacollin> Also, my patch isn't meant to be a suggested code change per se, just to illustrate the issue
<metacollin> I don't know how you use or planned to use undelete within fped, so its really just a matter up to you. If you're ok with simply renaming it, then there is no need for an #ifdef at all
<metacollin> I just don't like changing people's function names willy-nilly :)
<Joerg-Neo900> wpwrak: ^^^ :-)
<Joerg-Neo900> wpwrak: and please mind the "release" tag
<metacollin> Oh, and one other change: using flex on macos is done via -ll rather than -lm, but I believe that is specific to macOS. And I am probably the only person who wants/cares about macOS support heh
<metacollin> er not -lm, -lfl
<metacollin> https://gist.github.com/metacollin/abf049d340e074b30593c68e01a16ab1 is the change, but after that, fped works great on macOS :)
<Joerg-Neo900> on a sidenote: did you manage to build eeshow?
<Joerg-Neo900> we had some weird issue with libgit changed API or somesuch
<Joerg-Neo900> to be seen in last few commits
<metacollin> yeah I have eeshow working too... I think. its giving a parse error for the ee-full repo's neo900.pro
<Joerg-Neo900> I think that's exactly this issue
<metacollin> neo900.sch:61: cannot parse
<metacollin> "F0 "Charger/OTG" 80"
<Joerg-Neo900> iirc it was something similar to "cd doesn't like a filename as parameter any more"
<Joerg-Neo900> ooh, that's sth different
<metacollin> oh i think I know what this is
<Joerg-Neo900> nested quotes?
<Joerg-Neo900> meh, the outer ones are prolly from eeshow itself
<Joerg-Neo900> metacollin: when you share diagnostic output to wpwrak, he could have a look and prolly spot the issue in no time
<metacollin> is Charger/OTG supposed to be referencing a file?
<Joerg-Neo900> wpwrak: for fped, the patch is prolly >>sed -i 's/ undelete(/ fped_undelete(/g' *.{ch} #avoid collision with https://www.freebsd.org/cgi/man.cgi?query=undelete&sektion=2<<
<metacollin> yeah, that would be totally fine if he doesn't mind just renaming his function
<Joerg-Neo900> comment "fix undelete() collision for MacOS/freebsd"; tag "stable release"
<Joerg-Neo900> nevermind OSIX, not worth investigating what's going on there
<Joerg-Neo900> Possix*
<Joerg-Neo900> ugh, charger/OTG shouldn't reference a file for obvious reasons
<Joerg-Neo900> the file would be "charger.sch"
<Joerg-Neo900> the sheet name however is possibly "charger/OTG"
<metacollin> hmmmm
<metacollin> yeah
* Joerg-Neo900 feels a little sentimental about the great index sheet generator for eagle he did
<Joerg-Neo900> ;-)
<metacollin> I should be using the version of eeshow from http://neo900.org/git/eeshow correct?
<Joerg-Neo900> yes, that's canonical master (wording?) repo
<wpwrak> the parse error may be another POSIX-noncompliance. i use the "m" modifier, which is defined in POSIX.1-2008
<Joerg-Neo900> hi wpwrak! :-)
<wpwrak> metacollin: can't you just install glibc ? ;-)
<wpwrak> lack of support for %m is a problem. there's no easy way to replace it (short of rewriting *scanf)
<Joerg-Neo900> mind to link to a definition ofd what %m does?
<Joerg-Neo900> man scanf ?
<Joerg-Neo900> ta :)
<wpwrak> anyway, gotta run. the undelete problem may be fixable with feature test macros.
<Joerg-Neo900> hmmm >>assignment-allocation character m, which shall cause a memory buffer to be allocated to hold the string<< indeed that's nontrivial
err0r3o3_ has quit [Quit: err0r3o3_]
err0r3o3_ has joined #neo900
err0r3o3_ has quit [Client Quit]
err0r3o3_ has joined #neo900
M-DzzzzzzR has quit [Ping timeout: 246 seconds]
timclassic has quit [Ping timeout: 240 seconds]
metacollin has quit [Quit: https://metacollin.com/NLTtKkA.gif]
arnaudj has joined #neo900
knttl has quit [Remote host closed the connection]
metacollin_cell has joined #neo900
timclassic has joined #neo900
metacollin_cell has quit [Ping timeout: 260 seconds]
silviof has quit [Ping timeout: 258 seconds]
chainsawbike has quit [Ping timeout: 246 seconds]
silviof has joined #neo900
chainsawbike has joined #neo900
M-DzzzzzzR has joined #neo900
jonsger has joined #neo900
jonsger has quit [Quit: jonsger]
jonsger has joined #neo900
jonsger has quit [Ping timeout: 240 seconds]
ArturSha1 has quit [Ping timeout: 240 seconds]
D33P-B00K has joined #neo900
D33P-B00K has left #neo900 [#neo900]
pagurus has quit [Ping timeout: 240 seconds]
pagurus has joined #neo900
louisdk has joined #neo900
arnaudj has quit [Quit: arnaudj]
louisdk has quit [Ping timeout: 258 seconds]
louisdk has joined #neo900
M-DzzzzzzR has quit [Ping timeout: 255 seconds]
timclassic has quit [Ping timeout: 276 seconds]
louisdk has quit [Ping timeout: 246 seconds]
Pali has quit [Ping timeout: 255 seconds]
harut has joined #neo900
timclassic has joined #neo900