code logs -> 2014 -> Sat, 22 Mar 2014< code.20140321.log - code.20140323.log >
--- Log opened Sat Mar 22 00:00:04 2014
00:03 Derakon[AFK] is now known as Derakon
00:03 You're now known as TheWatcher[t-2]
00:20 Turaiel[Offline] is now known as Turaiel
00:21 You're now known as TheWatcher[zZzZ]
00:46 Red_Queen [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
01:26
<@RchrdB>
Fun thing: the Apache Portable Runtime is supposed to be a batteries-included standard library for C.
01:27
<@RchrdB>
Provides things like a hash table implementation, a portable poll()-like interface, portable mmap() and so on, across Unix and some weird platforms like BeOS and Win32.
01:27
<@RchrdB>
There's no narrative documentation that I can find anywhere.
01:28
<@RchrdB>
The documentation linked on the website is doxygen, and it's totally useless.
01:28
<@RchrdB>
Instead, simply reading the headers themselves is actually pleasant; they're really well-written.
01:38
<@RchrdB>
â¦aside from everything being a bit underspecified. :|
01:54 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code
01:54 mode/#code [+o celticminstrel] by ChanServ
01:55 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
01:55 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code
01:55 mode/#code [+o celticminstrel] by ChanServ
01:56 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
02:15 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code
02:15 mode/#code [+o celticminstrel] by ChanServ
02:17 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
02:18
<@celticminstrel>
I'm slightly disappointed at the lack of an Objective-C plugin for visual studio.
02:19
<@Namegduf>
How good is support for Obj-C outside of OS X and iOS?
02:20
<@RchrdB>
I believe that GNUstep is the only toolkit for it outside of Cocoa.
02:20
<@Namegduf>
I heard of that one, I think.
02:21
<@RchrdB>
So, the two objC compilers available are GCC and objective-C.
02:22
<@celticminstrel>
I think I'm only using it to read plist files.
02:22
<@RchrdB>
I think that you can use the language itself without any of its expected standard library just fine.
02:22
<@celticminstrel>
I think clang has objc support too.
02:22
<@celticminstrel>
Yeah.
02:22
<@RchrdB>
er, *are GCC and clang.
02:22
<@celticminstrel>
Oh. Heh.
02:22
<@RchrdB>
GNUstep has an implementation of some of objC's standard library (don't know how much)
02:23
<@RchrdB>
GNUstep includes some GUI stuff that you don't want to use because nobody should write apps that look that old in 2014, unless they're written in Tk.
02:23
<@RchrdB>
(writing apps in Tk is fine, it shows that you're being deliberately minimalist/oldschool)
02:24
<@celticminstrel>
There seems to be an official clang release for Windows which also adds itself as a toolchain to VS.
02:24
<@celticminstrel>
But it can't compile VS's C++ library yet.
02:25
<@RchrdB>
Yeah, that's some kind of mad thing to get clang into the hands of VS users at all costs
02:25
<@Namegduf>
What are you looking to do with it?
02:25
<@celticminstrel>
My choices are "use libc++ and recompile some other libraries that depend on the standard library", "wait", and "compile clang myself", since I think it's already fixed in svn.
02:25
<@celticminstrel>
Hm, Namegduf?
02:25
<@RchrdB>
IIRC it does something really funny like invokes clang and, if there's a compilation error, tries again with MS' C compiler.
02:25
<@Namegduf>
Obj-C.
02:25
<@celticminstrel>
[Mar 21@10:22:08pm] celticminstrel: I think I'm only using it to read plist files.
02:26
<@celticminstrel>
I have predominantly C++ code that works on the Mac which I want to port to Windows.
02:26
<@Namegduf>
Ah.
02:26
<@celticminstrel>
RchrdB: I don't think it does that by default, you have to specify the /fallback flag.
02:28
<@RchrdB>
Third-hand rumour.
02:28
<@celticminstrel>
That's clang-cl, the driver that mimicks cl.exe's interface.
02:28
<@celticminstrel>
You could use clang directly instead, though I don't think you can integrate that with VS.
02:29
<@RchrdB>
celticminstrel, I think that you might be in trouble; reading/writing plists isn't part of objC but one of the libraries that comes with OS X
02:29
<@RchrdB>
it sounds like there is a GNUstep reimplementation of part of it, but it doesn't sound like it'll read actual plist files as composed by actual OS X programs
02:30
<@celticminstrel>
Really? I thought it would be fine, since it all starts with NS.
02:30
<@celticminstrel>
But of course, I do have the alternate option of replacing the Obj-C with some XML parsing.
02:30
<@RchrdB>
I'm looking at https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/ man5/plist.5.html
02:31
<@RchrdB>
It's all CF*, not NS*.
02:31
<@RchrdB>
celticminstrel, who knows, maybe I have the wrong end of the stick, hopefully.
02:31
<@celticminstrel>
I'm using NSPropertyListSerialization.
02:32
<@RchrdB>
Maybe totally fine.
02:33
<@celticminstrel>
I'll find out once I get everything else working, I guess.
02:34 Turaiel is now known as Turaiel[Offline]
02:34
<@RchrdB>
Good luck!
02:34
<@celticminstrel>
It'll probably be awhile yet, unless I decide to compile clang from svn.
02:34
<@celticminstrel>
But thanks.
02:46 Thalass [thalass@Nightstar-cmieal.bigpond.net.au] has joined #code
02:46 mode/#code [+o Thalass] by ChanServ
03:02 Thalass [thalass@Nightstar-cmieal.bigpond.net.au] has quit [Ping timeout: 121 seconds]
03:07 Turaiel[Offline] is now known as Turaiel
03:35 Derakon is now known as Derakon[AFK]
03:39 Thalass [thalass@Nightstar-cmieal.bigpond.net.au] has joined #code
03:39 mode/#code [+o Thalass] by ChanServ
03:56 Thalass [thalass@Nightstar-cmieal.bigpond.net.au] has quit [Ping timeout: 121 seconds]
03:59 Orthia [orthianz@Nightstar-7sn5i0.callplus.net.nz] has joined #code
03:59 mode/#code [+o Orthia] by ChanServ
04:50 Kindamoody[zZz] is now known as Kindamoody
05:10 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
05:29 Syka [the@Nightstar-lj9.jgs.156.120.IP] has joined #code
05:30 Syka is now known as NSGuest23634
05:31 NSGuest23634 is now known as Syk
05:59 HotShot^Work [HotShot^Wor@Nightstar-8ad0hu.sfldmi.sbcglobal.net] has joined #code
06:04 HotShot^Work [HotShot^Wor@Nightstar-8ad0hu.sfldmi.sbcglobal.net] has quit [[NS] Quit: Leaving]
06:05 RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.]
06:08 RchrdB [RichardB@Nightstar-c6u.vd5.170.83.IP] has joined #code
06:33 Turaiel is now known as Turaiel[Offline]
07:00 Kindamoody is now known as Kindamoody|afk
07:09 Red_Queen [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
07:09 mode/#code [+o Red_Queen] by ChanServ
07:39 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
08:52 AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has joined #code
09:01 AverageJoe [evil1@Nightstar-fb1kt4.ph.cox.net] has quit [[NS] Quit: Leaving]
09:15 Orthia [orthianz@Nightstar-7sn5i0.callplus.net.nz] has quit [Ping timeout: 121 seconds]
09:15 You're now known as TheWatcher
09:25 ErikMesoy|sleep is now known as ErikMesoy
09:37 Orthia [orthianz@Nightstar-7sn5i0.callplus.net.nz] has joined #code
09:38 mode/#code [+o Orthia] by ChanServ
12:11 Turaiel[Offline] is now known as Turaiel
12:24 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
14:21 Syk [the@Nightstar-lj9.jgs.156.120.IP] has quit [[NS] Quit: lol3g]
14:22 celticminstrel [celticminst@Nightstar-mhtogh.dsl.bell.ca] has joined #code
14:22 mode/#code [+o celticminstrel] by ChanServ
15:26 Turaiel is now known as Turaiel[Offline]
17:21 Draak [Godbehere@Nightstar-hl453o.zing-net.ca] has joined #code
17:26 Turaiel[Offline] is now known as Turaiel
17:38 Kindamoody|afk is now known as Kindamoody
17:46 Derakon[AFK] is now known as Derakon
18:02 Draak [Godbehere@Nightstar-hl453o.zing-net.ca] has quit [[NS] Quit: Leaving]
20:02 Kindamoody is now known as Kindamoody[zZz]
20:34 Turaiel is now known as Turaiel[Offline]
20:41 macdjord [macdjord@Nightstar-c0i1dq.cable.rogers.com] has quit [[NS] Quit: "Too long have night and day warred, their false dichotomy plaguing this land. No more. I come now to put them both down, to usher in a new era of balance and peace. For now is the time of... /Twilight/. *And the Dusk shall Reign Eternal.*"]
20:58
<@celticminstrel>
Apparently telling VS to treat .mm files as C++ does cause InteliSense to look at it after all. It didn't work at first. Maybe I just needed to restart VS.
20:59
<@celticminstrel>
The Doxygen comment highlighter I found also doesn't work. Or rather, it only works the first time you start VS after enabling it.
22:28
<@celticminstrel>
...the git diff shows some random characters at the start of the vcxproj and sln files that don't appear if I open them in (for example) Notepad++.
22:28
<&McMartin>
Those are probably the Unicode Byte Order Marker
22:29
<@celticminstrel>
I was wondering about that...
22:29
<@celticminstrel>
I fixed resource.h and the .rc being interpreted as binary by saving them as UTF-8; I wonder if it's safe to do that with the .sln and .vcxproj.
22:31
<@celticminstrel>
Well, I suppose if they have a BOM they're already UTF-8, but I saved the other two as UTF-8 without BOM.
22:33
<&McMartin>
ISTR that .sln and .vcxproj are basically XML files. They should say "UTF-8" in the part where they start with <?xml.
22:34
<@celticminstrel>
Yup, they do. The .vcxproj does, at least. The .sln isn't XML.
22:41 Red_Queen [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
22:49 ErikMesoy is now known as ErikMesoy|sleep
22:52 mode/#code [+o RchrdB] by ChanServ
22:52 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
22:53 mode/#code [+qo Vornicus Vornicus] by ChanServ
--- Log closed Sun Mar 23 00:00:20 2014
code logs -> 2014 -> Sat, 22 Mar 2014< code.20140321.log - code.20140323.log >

[ Latest log file ]