code logs -> 2017 -> Sun, 28 May 2017< code.20170527.log - code.20170529.log >
--- Log opened Sun May 28 00:00:25 2017
00:04
<@celticminstrel>
I want to use C++14 or C++17. :( Do I have it literally build libc++ myself?
00:04
<@celticminstrel>
^have to
00:09
<~Vornicus>
maaaaaaaaaaaathtaaaaacuuuulaaaaaaaar
00:16
<@celticminstrel>
I'm assuming that's not supposed to be an answer to me.
00:16
<&McMartin>
I assume --std=c++14 isn't working for you
00:17
<@celticminstrel>
The compiler is too old; currently installing a newer one.
00:17
<@celticminstrel>
But the real issue is with the standard library, I think, especially if I want C++17.
00:17
<&McMartin>
That should be part of your compiler suite, as it were
00:18
<@celticminstrel>
Except that libc++ is installed in the system and apparently it is Very Dangerous to replace it.
00:18
<&McMartin>
Yes, especially on Apple, where it uses magic undocumented symbols everywhere and links against those
00:18
<@celticminstrel>
MacPorts actually makes "libcxx" an empty package.
00:19
<@celticminstrel>
Yes, on Apple.
00:20 * Vornicus defeats another hunk of math, gets to the part where he has to put it all together. How does he want the file format to look.
00:20
<~Vornicus>
Well, the data format.
00:29
<~Vornicus>
So: I have a polygon, which suggests individual points; however, some edges (for most things, 0 or 1 edges) require an additional piece of information.
00:44
<~Vornicus>
that additional piece of information is a single number.
01:13
<&[R]>
Does MacOS not have anything like LDPRELOAD or other methods of changing the location of libraries?
01:15
<&McMartin>
Answer to that is "Yes, but it doesn't work the way LDPRELOAD does because LDPRELOAD is disastrous"
01:15 * Vornicus apparently did this wrong.
01:15
<~Vornicus>
I have a git project that is supposed to have a submodule in it
01:16
<&McMartin>
"And it might not work because the whole issue here is that the OS library calls you make may rely on a different libc"
01:16
<~Vornicus>
But I appear to have not correctly set it as a submodule.
01:16
<&McMartin>
Now, it doesn't fail the way LDPRELOAD does, where it calls into a library that isn't the one it expects; it will load both libcs
01:16
<&McMartin>
But now you have two copies of libc in your address space and that makes life exciting if you were hoping things like errno to work
01:17
<~Vornicus>
now I have to figure out how to make it properly a submodule.
01:17
<&McMartin>
(Every call that ends up in some other dynamic library in macOS, like in Windows, carries the identifier of the library said symbol is in.)
01:18
<&McMartin>
(macOS's binary format has a separate notion for specifically interposing/replacing symbols, but you need to do compile-time magic within the interposing library to make that happen)
01:58
<&McMartin>
Man
01:58 * McMartin adds a byte to his program, watches the result shrink by a byte
02:12 * Vornicus manages it
02:31
<&McMartin>
Also, man, that feeling when you realize self-modifying code will be easier than having a pointer variable :(
02:32
<&McMartin>
Not *faster* (though it is, by a trivial amount), but *actually easier*
02:36
<~Vornicus>
man
02:37
<&McMartin>
I've mentioned before that 6502 is bad at pointers
02:37
<&McMartin>
Let me reiterate: 6502 is bad at pointers
02:41
<@celticminstrel>
Oh my.
02:44
<~Vornicus>
Ah yes
02:45 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
02:50 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
02:50 mode/#code [+o Alek] by ChanServ
02:56 KiMo|autorejoin [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has joined #code
02:57 Kindamoody[zZz] [Kindamoody@Nightstar-0lgkcs.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
03:05 Jessikat` [Jessikat@Nightstar-o976co.dab.02.net] has joined #code
03:08 Jessikat [Jessikat@Nightstar-bsn.equ.132.82.IP] has quit [Ping timeout: 121 seconds]
03:11 t-rex [NSkiwiirc@Nightstar-7i6ec2.dyn.optonline.net] has joined #code
03:15 t-rex [NSkiwiirc@Nightstar-7i6ec2.dyn.optonline.net] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
03:27
<@celticminstrel>
So, what could be the cause of an exception not being caught even though there's a catch clause?
03:27
<@celticminstrel>
(And it is caught by reference, just FTR.)
03:28
<@celticminstrel>
Could that be caused by incompatibility between the libc++ it was built against and the libc++ it's dynamically loading?
03:28
<@celticminstrel>
I feel like an incompatibility should've instead produced an "unknown symbol" type of error though...
03:35 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed]
03:39 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
03:39 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
04:01
<@celticminstrel>
Hmm, apparently C++14 works with clang 3.7 and whatever version of libc++ it's using.
04:02
<@celticminstrel>
At least, "Hello world!"s compiles.
05:17 Derakon is now known as Derakon[AFK]
05:52 Jessikat` is now known as Jessikat
06:43
<~Vornicus>
for those of you who might care: Tiled 1.0 is out
07:11 * Vornicus fiddles, gets: list of vertices, table of edge customizations if necessary.
07:11
<~Vornicus>
Okay!
07:12
<&McMartin>
What are you building?
07:13
<~Vornicus>
Vornball.
07:13
<~Vornicus>
I've done the math and figured out how to use real arcs in the physics engine.
07:14
<~Vornicus>
The problem I've been poking at (alongside being super duper ADD) is including the arcs as part of polygons, and building the systems to handle the creation of same.
07:39 KiMo|autorejoin is now known as Kindamoody
08:43 celticminstrel is now known as sleepminstrel
09:35 Jessikat` [Jessikat@Nightstar-p88uga.dab.02.net] has joined #code
09:37 Jessikat [Jessikat@Nightstar-o976co.dab.02.net] has quit [Ping timeout: 121 seconds]
09:44 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
11:18 Jessikat` is now known as Jessikat
11:44 Kindamoody is now known as Kindamoody|afk
15:19 Derakon[AFK] [Derakon@Nightstar-fr5qel.ca.comcast.net] has quit [Connection closed]
16:05 Jessikat` [Jessikat@Nightstar-m7ucm1.dab.02.net] has joined #code
16:08 Jessikat [Jessikat@Nightstar-p88uga.dab.02.net] has quit [Ping timeout: 121 seconds]
17:22 sleepminstrel is now known as celticminstrel
17:29
<&[R]>
Makefiles making Makefiles making Makefiles, what maddness is this?
17:35
<@Alek>
yo dawg
17:48
<&[R]>
I know right?
17:53
< Jessikat`>
making madness
17:54 Jessikat` is now known as Jessikat
18:44 RchrdB [RchrdB@Nightstar-8hs1fe.cable.virginm.net] has joined #code
18:55 RchrdB [RchrdB@Nightstar-8hs1fe.cable.virginm.net] has quit [Ping timeout: 121 seconds]
19:28 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
19:28 mode/#code [+qo Vornicus Vornicus] by ChanServ
21:02 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has quit [[NS] Quit: leaving]
21:09 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code
21:09 mode/#code [+ao McMartin McMartin] by ChanServ
22:35
<@celticminstrel>
I wonder how much work it'd be to rewrite things like pango / cairo / harfbuzz in C++ so as to not depend on glib. >_>
22:35 Jessikat` [Jessikat@Nightstar-evf2i5.dab.02.net] has joined #code
22:36
<@TheWatcher>
A /lot/
22:37 Jessikat [Jessikat@Nightstar-m7ucm1.dab.02.net] has quit [Ping timeout: 121 seconds]
22:45
<@TheWatcher>
Question at this point is why not just use Qt?
22:45
<@celticminstrel>
Interesting you should say that.
22:56 Kindamoody|afk is now known as Kindamoody
23:02
<&McMartin>
Qt4 was pretty wacky, but I have to admit it's the nicest framework I've personally used.
23:25 Kindamoody is now known as Kindamoody[zZz]
23:31 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
--- Log closed Mon May 29 00:00:26 2017
code logs -> 2017 -> Sun, 28 May 2017< code.20170527.log - code.20170529.log >

[ Latest log file ]