Re: Code running on LINUX?
On Jul 23, 5:05 am, anchitg...@gmail.com wrote:
On Jul 22, 5:07 pm, Lionel B <m...@privacy.net> wrote:
On Mon, 21 Jul 2008 20:28:31 -0700, anchitgood wrote:
Hey, I have developed the following code and it is
executing well on windows. But I don't have LINUX
installed on my system. I would be grateful to you guys if
you check whether this code is working fine on linux. I
know that C++ is independent of OS, but still check it on
You might first want to test-compile it on Comeau Online:
Comeau has a reputation as one of the most
standards-compliant compilers around, and you may specify an
"architecture" to compile your code under.
yeah, its showing compile succeded on comeau link. Compile
succeded on every red hat platform and also on Linux alpha. So
this has done the job, isn't it?
Just a nit, but compile succeeded doesn't mean that it will run.
You can still have undefined behavior that just happens to work
with the current version of the compiler you're using, at least
with the options you use to compile.
(Note that this really isn't a portability issue, per se, unless
it is a case of the code depending on behavior that actually is
guaranteed by your compiler, but not by the standard. It's a
sad fact of life that the fact that a program runs doesn't mean
that it is correct, even on a given platform.)
James Kanze (GABI Software) email:firstname.lastname@example.org
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34