Page 1 of 1

Build failed - any thoughts?

Posted: 08.08.2005, 21:56
by BlindedByTheLight
Tried to build off the latest CVS... got these two errors halfway through...


Image

Image

Haven't been able to build for a long time. Any thoughts?

Posted: 09.08.2005, 13:44
by symaski62
http://www.cs.huji.ac.il/~etsman/Docs/g ... ource.html

Code: Select all

         if (__r == codecvt_base::noconv)
             {
               size_t __avail = _M_ext_end - _M_ext_buf;
               __ilen = std::min(__avail, __buflen);
               traits_type::copy(this->eback(),
                     reinterpret_cast<char_type*>(_M_ext_buf), __ilen);
               _M_ext_next = _M_ext_buf + __ilen;
             }
           else


gcc 3.4 base :?:

Posted: 09.08.2005, 22:42
by BlindedByTheLight
symaski62, thanks for answering my post... if that is indeed what you were doing - in other words, I have no idea what you wrote! :) I probably should have made my ignorance known in my initial post.

However, you did ask something about gcc and, if memory serves, that has something to do with my compiling software... and I now realize I didn't really offer any info as to my setup.

Mac OS X - 10.4.2
Xcode 2.1

Thanks,
S aka Blinded

Posted: 10.08.2005, 00:04
by symaski62
src/gnu/dist/gcc/libstdc++-v3/include/bits/fstream.tcc

http://cvs.blackfin.uclinux.org/cgi-bin ... f=h#rev1.3

:wink:

(GCC 3.4.4) Fri May 20 11:53:09 2005 UTC

^^

Posted: 10.08.2005, 00:09
by BlindedByTheLight
symaski62 wrote:src/gnu/dist/gcc/libstdc++-v3/include/bits/fstream.tcc

http://cvs.blackfin.uclinux.org/cgi-bin ... f=h#rev1.3

:wink:

(GCC 3.4.4) Fri May 20 11:53:09 2005 UTC

^^


Well, I must say - to my non-coder eyes, that was a fairly cryptic response. To highlight just how cryptic it is appearing to me, I'm not even sure if you are posting a response to my question. :) If you are, welll... thanks for trying.

Steve out

Posted: 17.08.2005, 21:55
by Christophe
There is a problem (bug?) with gcc 3.4, you need to explicitly include the vector header. I commited a fix yesterday night.

Posted: 17.08.2005, 22:08
by BlindedByTheLight
Thanks Chrisophe... Dirkpitt had also committed a fix that worked (I think his fix had something to do with Xcode 2.1)...

http://cvs.sourceforge.net/viewcvs.py/c ... e&view=log

...hope the two don't interfere.

Posted: 17.08.2005, 22:38
by Christophe
I don't think they do.

He actually removed other headers, I think adding <vector> before those would have fixed it too.