This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc 3.0 IRIX 6.5 bug


wem@bruker.de (Werner Mausshardt) writes:

| Gabriel.Dos-Reis@cmla.ens-cachan.fr (Gabriel Dos Reis) wrote:
| 
| > | #include <sys/types.h>
| > | #include <iostream>
| > | 
| > | int main()
| > | {
| > |   off_t ot = 3;
| > 
| > The problème is that V3 doesn't know anything about <sys/type.h> nor
| > off_t. Actually, it is the job of the system integrator to take the
| 
| Did you really get the problem right? It is only the std::cout
| which can not handle the off_t type, every thing else with off_t works.

If std::cout can't handle off_t,then it is likely that std::cin won't
either.  Furthermore off_t isn't a C++ standard type so V3 can hardly
assume what it is. That is the responsability of the system integrator.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]