« first day (986 days earlier)      last day (3964 days later) » 

1:00 PM
@LucDanton const ☐ = square( | )
 
@thecoshman Is it because it is simpler to use? Or because it has more features? I read only good things about git
 
user142019
@KonradRudolph -Os
 
user142019
inb4 17 kB.
 
Ye. Also consider that different backends can be substituted: there's no 'merely' in 'produces assembly from the intermediate representation'. It's a whole job.
 
@rightfold First I need to get rid of some segfault ;)
… it’s probably the Spirit debug info that takes up all the space, anyway
 
1:00 PM
@AndyProwl Github is more popular and better feated
 
@thecoshman blackboard?
 
A compiler 'merely' produces an executable from the intermediate source code. The complex stuff has long been resolved by the programmer by then!
 
@Aboutblank BitBucket
 
oh lol
 
user142019
Bitbucket
 
1:01 PM
const 🍌 = square (banana);
 
@BartekBanachewicz Guess I'll have to try both
 
user142019
There is no BitBucket.
 
Huh?
@rightfold What do you mean?
 
@AndyProwl rightfold is case-sensitive
 
aha
lol
 
user142019
1:02 PM
You don't say Javascript, so you don't say BitBucket.
 
@KonradRudolph I think -fvisibility=hidden -fvisibility-inlines-hidden might help you but I'm not sure.
 
@rightfold pirate said BB
 
@Telkitty猫咪咪 do you mean const banana *🍌 = new banana();
 
user142019
@BartekBanachewicz So?
 
@Potatoswatter Does it really look like I'm defining const?
 
1:03 PM
@rightfold whatever
 
@LucDanton Nice! Didn’t know that flag
 
@melak47 auto fruit_piece = make_unique<🍌>();
 
user142019
@not-sehe isn't that an error?
 
@melak47 not sure about const qualifier, more like: Banana *🍌 = new Banana();
 
where, what
The characters don't show up on this side, ftr
 
1:05 PM
@KonradRudolph I'm genuinely interested if you notice an improvement. Or if it got worse.
 
user142019
The variable 🍌 hides the type 🍌, not?
 
well let’s try, shall we
 
@rightfold damn. is it weekend, yet?
 
user142019
No.
 
user142019
It's Friday.
 
1:06 PM
I'm back foo's
 
user142019
Went to the bar's?
 
no bars found
 
@AndyProwl They are very much the same to be fair. The main reason to use BB over GitHub is free private repos
 
@LucDanton Okay, it pretty much exactly halved the executable size
 
user142019
~/Desktop [ cat foo.cpp                                               ] 3:07 pm
int main() {
    auto 🍌  = 42;
    return 0;
}

~/Desktop [ clang++ foo.cpp -std=c++11 -stdlib=libc++                 ] 3:07 pm
foo.cpp:2:10: error: expected unqualified-id
    auto <U+1F34C>  = 42;
         ^
1 error generated.
 
1:08 PM
Right. Was more interested in compilation time though.
 
user142019
Heh, apparently clang doesn't like Unicode in its diagnostics.
 
well, we can't have proper working initializer lists, but at least MSVC supports bananas
21
 
@thecoshman Ok, thank you for the tip
 
@LucDanton Oh. Sorry, didn’t benchmark that … I can do this but roughly speaking it didn’t feel like there was any difference
 
@melak47 So jealous.
 
1:09 PM
well, not much
 
Okay then.
 
user142019
@melak47 haha nice
 
@melak47 lol
 
user142019
foo.cpp:2:5: error: stray '\360' in program
     auto 🍌  = 42;
     ^
foo.cpp:2:5: error: stray '\237' in program
foo.cpp:2:5: error: stray '\215' in program
foo.cpp:2:5: error: stray '\214' in program
 
user142019
GCC sucks even more!
 
1:11 PM
Hmm, is there a guarantee in C++ that "hello" == "hello"?
 
No.
 
user142019
@KonradRudolph implementation-defined
 
the "Locals" window shows the type as ⏴* though :(
 
user142019
But in practice, pretty much.
 
@AndyProwl but you don't want a private repo :P
 
1:12 PM
@thecoshman d'oh! :D
 
@AndyProwl ¬_¬ you didn't go and set up a private repo after us saying how you should get your code out in the public did you?
 
does the standard allow unicode identifiers?
 
user142019
¬_¬_¬_¬_¬_¬_¬_¬_¬_¬_¬_¬_¬_¬_¬_¬_¬_¬_¬_¬_¬_¬_¬_¬
 
user142019
@melak47 implementation-defined
 
@thecoshman lol, no I didn't. I just thought I'd do that
 
user142019
1:14 PM
But in practice, pretty much not.
 
2 days ago, by R. Martinho Fernandes
Combining characters are explicitly disallowed in C++ identifiers. Meaning you may be able to use greater-than-diaeresis, but never less-than-diaeresis.
Otherwise, yes. With the proviso that you can only ever rely on the basic source set characters being present.
 
@thecoshman Actually, can you upgrade the visibility of a report from private to public, or do you have to clone it?
 
@LucDanton sweet! I'm gonna use unicode in ALL the identifiers now :)
 
@melak47 You want to check Annex E in the standard.
 
user142019
@melak47 And have your code be incompatible with clang and GCC. Congratulations.
 
1:17 PM
class StopWatch{...}; ? screw that, class ⏱ {...};
 
user142019
How does code completion deal with that?
 
@rightfold Wide would complain too. But then again, the Wide compiler isn't production.
 
@rightfold what do you think
 
user142019
That it breaks.
 
1:19 PM
me too :/
 
user142019
Ik verveel mij/jou.
 
pijnlijk
 
nah, it's fine
user image
2
 
huh
 
user142019
Does it compile?
 
1:20 PM
turns out that I only ever implemented default arguments for constructors for C++ types.
 
@rightfold yes
what does code completion have to do with it compiling
 
user142019
Nothing.
 
user142019
Did I say it had to do anything with compiling?
 
@DeadMG more of that "more broken that I thought it was" goodness? :)
 
@AndyProwl repo is short for repository, not report. And yes, you can change the visibility of your repo
 
1:21 PM
@melak47 No, I honestly completely forgot about default arguments.
 
user142019
Okay.
 
but a lot of the Clang handling in Wide needs de-duplicating and generally fixing anyway
 
user142019
Time to write this software.
 
@thecoshman No idea why I wrote "report"
 
@melak47 :D
 
1:23 PM
ITT: vc++/VS beats gcc, clang at unicode
 
it also beats clang/gcc at marketing
 
I guess bananas are easier to market
 
also at sucking
 
user142019
GHC beats VC++, GCC and clang at the supported languages.
 
1:24 PM
o u
 
I hate it when TAB completion in the terminal no long works because recently new file was created that starts with same letters.
 
it still works
 
yeah but not good
 
@LucDanton Sorry, pet peeve.
 
I should file a bug on Connect though, "Autos, Locals and Watch windows do not support bananas"
 
1:26 PM
Completion ambiguities should be resolved by selecting the most frequent.
 
@StackedCrooked i think you can have the behaviour you want. probably in zsh. And there's !1 and stuff like that
 
@KonradRudolph Ah bummer. It does help with linking though (what with all the symbols that aren't kept).
 
@not-sehe What is !1 ?
 
@LucDanton But using universal-character-names all the ranges specified must be accepted, it seems.
 
1:27 PM
@LucDanton Oh definitely
 
Also, GCC, the fully compliant C++11 compiler, does not support universal-character-names in identifiers.
 
@StackedCrooked something. man bash (I don't use it. It's probably called history expansion)
 
ccache, ld.gold and visibility options is what I use to preserve my youthful appearance.
 
@melak47 Bad font, or two squares?
 
@R.MartinhoFernandes bad font I guess, single square
 
1:29 PM
@R.MartinhoFernandes You mention that fully-compliant thing every single time
 
@DeadMG Because it's marketing bullshit (and it not coming from Microsoft annoys me more).
 
user142019
@StackedCrooked There is a Z shell plug-in that lists most-visited (where a visit is "cd into") directories first.
 
JBL
Is there a single compiler that is "fully-compliant" strictly speaking...?
 
of course not
first, you'd have to actually agree what compliance to the Standard means.
then you'd have to prove that it's compliant for all possible C++ programs, which I think is impossible.
 
morning fellahs
 
1:31 PM
@JBL depends on what it is complying with
 
user142019
@DeadMG you don't have to prove it for it to be compliant.
 
user142019
You'd simply not know.
 
@DeadMG The standard includes a definition of compliance.
 
@rightfold you can't claim compliance if you don't know
 
JBL
@not-sehe Implying C++ standard.
 
1:32 PM
Because it's a standard.
 
@R.MartinhoFernandes Right. What I meant is, you'd have to define how you interpret the wording. Not every phrase has only one unambiguous interpretation.
 
@DeadMG Any one suffices.
 
what? no morning Roland?
lol
 
It's not morning, Roland
 
@RolandSams We're busy being pedants.
 
1:33 PM
^
 
user142019
@RolandSams Good afternoon.
 
JBL
@DeadMG As long as nobody can really say "You completely misunderstood what the standard says about compliance"..
 
@BartekBanachewicz Haven't seen that one before. The multiple files option is nice.
 
@R.MartinhoFernandes don't let me stop you
 
@JBL I can!
 
1:34 PM
man
I gotta change my AST and stuff.
it's gonna suck.
 
god I love programming, so much to learn
 
user142019
 
-4
Q: Undeclared identifier and must point to class/struct/union?

Brent MalaluanI got this error when I compile my source: error C2065: 'pWndDayNight' : undeclared identifier (291) : error C2227: left of '->GetCheck' must point to class/struct/union type is ''unknown-type'' (1284) : error C2227: left of '->GetCheck' must point to class/struct/union type is ''unknown-type'' ...

 
JBL
@not-sehe It comes to the point where I wonder why is there even a standard.
 
@rightfold Should not. As long as the source code is in some encoding supported by all of them, incompatibilites mean non-compliant behaviour.
(FWIW, GCC claims to support UTF-8 but does not)
 
JBL
1:36 PM
"You misunderstood" - Every single time.
 
@JBL From a biological pov, they can always say that.
 
JBL
@StackedCrooked I mean without being considered an idiot.
 
@JBL Which is subjective :D
So standard interpretation is subjective!
 
JBL
But I forgot that everyone is an idiot, so it can't be applied here for obvious reasons
2 mins ago, by JBL
@not-sehe It comes to the point where I wonder why is there even a standard.
 
1:38 PM
It's better than having no standard.
 
@Griwes The obvious move is decltype.
 
JBL
Agree. At least, people have some materials supporting their disagreements.
 
@DeadMG Needs parens.
 
oh, right
 
> 19990105: [an error occurred while processing this directive]
My favourite
 
1:41 PM
I am looking forward to taking an overview of JQuery, fun
 
@DeadMG alignof!
 
3 mins ago, by R. Martinho Fernandes
@DeadMG Needs parens.
 
It's nothing like sizeof?
 
Nope.
sizeof is the odd man out.
 
Cool.
 
user142019
1:44 PM
> ∞% faster!
 
user142019
lol @ benchmark
 
JBL
Execution time tends to 0?
 
user142019
> 0µs
 
@LucDanton unicode failure. nvm
 
1:54 PM
Any Canadians here?
 
@RolandSams @EtiennedeMartel is Canadian
 
@not-TonyTheLion He'll kill you when he hears this.
 
ahh, cool... Mmm morning coffee
 
@R.MartinhoFernandes Wait? What?
 
1:56 PM
@not-TonyTheLion He's not Cananananadian. He's Quebebebebebecois.
 
Fucking hell
That's in Canada last time I checked
 
@not-TonyTheLion correct
 
WTF is compl?
 
@not-TonyTheLion ~ (aka complement)
 
oh woah
 
1:59 PM
Just looking at the mighty book one for MSDN. It really looks powerful.
Should I really attempt to memorize it?/
 
@StackedCrooked IRTA "prevents my dick from falling asleep"
 

« first day (986 days earlier)      last day (3964 days later) »