-pedantic doesn't necessarily do what you think it does.
I came across this the other day while compiling some code that used an ancient C++ library. The compiler errored on a function declaration that looked something like this:
extern foo ();
The C++ standard doesn't allow you to omit the return type. I was able to work around the problem by adding -pedantic and the compiler threw out a warning but managed to create some code. It seems the default setting for g++ (at least) is -pedantic-errors.
We Brits get there first again. Your American Rovers have failed to do anything more spectacular than create a few wheel tracks in spite of being there for months and months.
int main () { if (0) return; printf ("Hello World\n"); } jeremyp@dhcp-2-1-56:jeremyp$ gcc foo.c -o foo jeremyp@dhcp-2-1-56:jeremyp$./foo Hello World jeremyp@dhcp-2-1-56:jeremyp$ gcc --version gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1666) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I can't imagine a war between the US and China being anything but a global conflict.
In reality, the US would not shoot down Galileo since that in itself would be an act of war and I would expect the US would rather we Europeans were with it rather than against it.
Jackie Stuart has had nothing to do with Jaguar since the team was sold to them. When he did run the team, it was a reasonable middle of the pack outfit which lacked for nothing except money.
By the way Jaguar had nothing to do with the team either. It's just that Ford decided it would be a sexier name than "Ford".
I remember watching that race. The telemetry from Schumacher's car was shown in a graphic at the corner of the screen. Anybody viewing the race live in th UK could see he was stuck in fifth.
Yeah, but the wonderful thing is that the marks actually turn out to be meaningful.
for e.g. when somebody first said "let's pretend that -1 *does* have a square root" it never occurred to them that complex numbers would turn out to be important in physics and electronics.
Just tried it on my Mac OS X box and the -r was not deleted but everything else was including directories.
It all depends on whether the file "-r" is first the collating sequence. When I added a file called "+r", the -r was treated as a regular file rather than a switch.
SUV's are popular although not as popular in the US.
Scotland has never counted as part of England. For some reason the Scots always seem to get upset when we English refer to the whole island as "England".
Scotland certainly does count as part of the UK and the northern most tip of the UK is a little less than a thousand miles from the furthest extremity to the South.
What makes you think the ISPs are on *your* side. Maybe the guy who owns the ISP is also an internationally known pop star (Bob Geldof used to have one). Maybe the ISP doesn't like to be associated with people breaking the law.
Newton was a nasty man who had vendettas against Hooke and Leibnitz and others too. I think it entirely probable that he "slipped in" ad hominem remarks.
My understanding of a code review is that you and the reviewer(s) get together and walk through the code line by line. If asll you're doing is checking the code in and at some later date somebody else is glancing over it to see if it is OK, you're doing it wrong.
Furthermore, having the code reviewer "fix" your code is wrong on so many levels e.g. if you do something badly, it should be your job to fix it, otherwise you'll never learn to do it properly. As in the case you mention the reviewer might have an incomplete understanding of the code and make it worse. It's also bad for your self esteem to have people redoing your work.
I'll bet he's using pre 1.5 too. 1.5 isn't available for MacOSX yet - at least I've not seen it.
-pedantic doesn't necessarily do what you think it does.
;
I came across this the other day while compiling some code that used an ancient C++ library. The compiler errored on a function declaration that looked something like this:
extern foo ()
The C++ standard doesn't allow you to omit the return type. I was able to work around the problem by adding -pedantic and the compiler threw out a warning but managed to create some code. It seems the default setting for g++ (at least) is -pedantic-errors.
I hate to add to your woes, but you've got the accent on the e the wrong way around. Café is how it should be.
Yay!
We Brits get there first again. Your American Rovers have failed to do anything more spectacular than create a few wheel tracks in spite of being there for months and months.
It already is in my operating system (Mac OSX) - well not the OS but the GUI framework.
Surely somebody who burgles is a burglator.
I can't imagine a war between the US and China being anything but a global conflict.
In reality, the US would not shoot down Galileo since that in itself would be an act of war and I would expect the US would rather we Europeans were with it rather than against it.
"can I get a WAAS based GPS and get the benefits from EGGNOG?"
Yes. My Garmin eTrex Vista can pick up the EGNOS system.
Jackie Stuart has had nothing to do with Jaguar since the team was sold to them. When he did run the team, it was a reasonable middle of the pack outfit which lacked for nothing except money.
By the way Jaguar had nothing to do with the team either. It's just that Ford decided it would be a sexier name than "Ford".
I remember watching that race. The telemetry from Schumacher's car was shown in a graphic at the corner of the screen. Anybody viewing the race live in th UK could see he was stuck in fifth.
Jacob's brother Joseph was travelling along the same road in the other direction also at 220 mph in a car of identical mass.
Yeah, but the wonderful thing is that the marks actually turn out to be meaningful.
for e.g. when somebody first said "let's pretend that -1 *does* have a square root" it never occurred to them that complex numbers would turn out to be important in physics and electronics.
No they weren't. They were encouraged to ship the Microsoft compiled ones which ship with Visual Studio.
And if this application is a product that his company distributes?
A diode valve/vacuum tube allows current to travel in one direction and not the other. "Valve" seems a good name to me.
Just tried it on my Mac OS X box and the -r was not deleted but everything else was including directories.
It all depends on whether the file "-r" is first the collating sequence. When I added a file called "+r", the -r was treated as a regular file rather than a switch.
This post is actually partly bullsh*t.
Most adults in the UK do drive.
SUV's are popular although not as popular in the US.
Scotland has never counted as part of England. For some reason the Scots always seem to get upset when we English refer to the whole island as "England".
Scotland certainly does count as part of the UK and the northern most tip of the UK is a little less than a thousand miles from the furthest extremity to the South.
That's an implementation issue. Blame the compiler, not the language.
They are probably making the said remarks *because* they own the DVDs or have seen the films.
What makes you think the ISPs are on *your* side. Maybe the guy who owns the ISP is also an internationally known pop star (Bob Geldof used to have one). Maybe the ISP doesn't like to be associated with people breaking the law.
Yes, because
a) terrorists are *completely* unaware of the idea you might have a mobile phone and will not have confiscated it
and
b) nobody outside the auditorium is going to be aware that there are terrorists holding the people inside hostage.
Newton was a nasty man who had vendettas against Hooke and Leibnitz and others too. I think it entirely probable that he "slipped in" ad hominem remarks.
The Smart car has a Euro NCAP rating of 3, which is not good by modern standards.
My understanding of a code review is that you and the reviewer(s) get together and walk through the code line by line. If asll you're doing is checking the code in and at some later date somebody else is glancing over it to see if it is OK, you're doing it wrong.
Furthermore, having the code reviewer "fix" your code is wrong on so many levels e.g. if you do something badly, it should be your job to fix it, otherwise you'll never learn to do it properly. As in the case you mention the reviewer might have an incomplete understanding of the code and make it worse. It's also bad for your self esteem to have people redoing your work.