Mail Archives: djgpp/2011/11/27/21:45:12
On Nov 27, 4:21 pm, Rugxulo <rugx DOT DOT DOT AT gmail DOT com> wrote:
> Hi,
>
> On Nov 27, 6:00 pm, jimm <jmich DOT DOT DOT AT yahoo DOT com> wrote:
>
>
>
> > I can't wait until they put boost in there with TR2.
>
> It's either wait or roll your own. Though lucky for you C++ is a very
> popular language with good support. So it shouldn't be too long.
>
> > I have been
> > waiting for decimal128 math and <string> compare that is case
> > insensitive - what were the designers thinking? ...
> > :-)
>
> "long long long int" ? :-)
>
> They probably think you can just use GMP lib, stricmp / strcasecmp,
> etc. (Or roll your own. Or use a different language.)
>
> > many needed improvements... initializer lists should have been done a
> > long time ago.
>
> G++ has always been pretty good and available since late '80s, I
> think, but even other people admit it only truly got great around 4.2.
> I think one guy [who?] then called it the "best in the world" at that
> point [citation needed]. As for adding more stuff, there will always
> be more to add. Sometimes you have to stop inventing and start
> stabilizing, implementing, etc. This is why C++11 only has stuff from
> circa 2006 or such [citation needed]. Bjarne Stroustrup probably
> doesn't want to sweat blood working on such standards for the rest of
> his life. It's already hard enough to implement (e.g. GCC uses a hand-
> written parser and not Bison [citation needed]).
>
> > I also think 128-bit integers should be available now,
> > since we have GUIDs and UUIDs. and GPT.
> > also, you can't represent SI and IEC units sufficiently without them.
>
> But what's the command to burn a Blu-Ray disc? Users demand it! ;-)
apparently this test case
//#include <stdio.h>
class furblatz {
private:
int neefits;
public:
~furblatz() {}
furblatz() {neefits=0;}
furblatz(int i) {neefits=i;}
void set(int i) {neefits=i;}
int get() {return neefits;}
// void print() {printf("%d\n", neefits);}
};
int main(void) {
furblatz f(42);
// f.print();
return 0;
}
causes an internal compiler error. stdio.h is there, but I took it
out because it might have been causing an error.
so this is purely the c++ compiler breaking on good #include-less
code.
delorie, you listening?
- Raw text -