auto_ptr b2 = static_cast< auto_ptr >(a2.getB());
cin.get();
return 0;
}
If I compile this file with gcc version 3.2.3 (mingw special 20030504-1)
no errors ocur (g++ -o autoPtr autoPtr.cpp).
But if I try to compile using gcc version 3.3.1 (cygming special), with
the same command li
private:
int cid_;
};
int main(int argc, char *argv[])
{
A a(1);
auto_ptr b = static_cast< auto_ptr >(a.getB());
A a2(2);
auto_ptr b2 = static_cast< auto_ptr >(a2.getB());
cin.get();
return 0;
}
If I compile this file with gcc version 3.2.3 (mingw special 2003
"chris" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Corinna Vinschen wrote:
>
> >On Mon, Sep 22, 2003 at 02:36:32PM +0300, Alex Vinokur wrote:
> >
> >
> >>-- Cygwin --
> >>$ gcc foo.c -o foo1.exe
> >>$ gcc foo.c -mno-cygwin -o foo2.exe
> >>
> >>-- MinGW --
> >>$
Corinna Vinschen wrote:
On Mon, Sep 22, 2003 at 02:36:32PM +0300, Alex Vinokur wrote:
-- Cygwin --
$ gcc foo.c -o foo1.exe
$ gcc foo.c -mno-cygwin -o foo2.exe
-- MinGW --
$ gcc foo.c -o foo3.exe
1. What is the difference between foo1.exe and foo2.exe?
2. Is there any difference
On Mon, Sep 22, 2003 at 08:02:09AM +0300, Alex Vinokur wrote:
>$ gcc -v
>[snip]
>gcc version 3.3.1 (cygming special)// More preferably 'cygwin', not 'cygming'
So, what are you saying? You want me to change the distribution because
you don't like the
"Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> On Mon, 22 Sep 2003, Alex Vinokur wrote:
>
> > $ gcc -v
> > [snip]
> > gcc version 3.3.1 (cygming special)// More preferably 'cygwin', not 'cygming&
"Corinna Vinschen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> On Mon, Sep 22, 2003 at 02:36:32PM +0300, Alex Vinokur wrote:
> > -- Cygwin --
> > $ gcc foo.c -o foo1.exe
> > $ gcc foo.c -mno-cygwin -o foo2.exe
> >
> > -- MinGW --
> > $ gcc foo.c -o foo3.exe
> >
>
On Mon, Sep 22, 2003 at 02:36:32PM +0300, Alex Vinokur wrote:
> -- Cygwin --
> $ gcc foo.c -o foo1.exe
> $ gcc foo.c -mno-cygwin -o foo2.exe
>
> -- MinGW --
> $ gcc foo.c -o foo3.exe
>
> 1. What is the difference between foo1.exe and foo2.exe?
> 2. Is there any difference between
"Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> On Mon, 22 Sep 2003, Alex Vinokur wrote:
>
> > $ gcc -v
> > [snip]
> > gcc version 3.3.1 (cygming special)// More preferably 'cygwin', not 'cygming&
On Mon, 22 Sep 2003, Alex Vinokur wrote:
> $ gcc -v
> [snip]
> gcc version 3.3.1 (cygming special)// More preferably 'cygwin', not 'cygming'
This may actually be correct. "Cygming" = "Cygwin" + "MinGW". gcc does
both, you kn
$ gcc -v
[snip]
gcc version 3.3.1 (cygming special)// More preferably 'cygwin', not 'cygming'
=
Alex Vinokur
mailto:[EMAIL PROTECTED]
http://mathforum.org/library/view/10978.html
=
11 matches
Mail list logo