This is the mail archive of the ecos-bugs@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1000037] New: missing declaration/references when using iostream


http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000037

           Summary: missing declaration/references when using iostream
           Product: eCos
           Version: unknown
          Platform: linux (Linux synthetic target)
        OS/Version: HostOS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: normal
         Component: ConfigTool
        AssignedTo: jld@ecoscentric.com
        ReportedBy: dpinson@matrics.com
         QAContact: ecos-bugs@sources.redhat.com


I have installed eCos 2.0. I have successfully built all the tests and examples,
however, when using C++ and referencing the iostream include several
declarations report as missing (mostly ctype_base). I can work around 2 of them,
but the failed to link with a missing (ios_base::Init) reference.

This is easily recreated by changing the hello.c example a C++ (change the
makefile to use g++ instead of gcc) and add the #include <iostream>

i.e.

#include <cstdio>
#include <iostream>

int main(void) {
  printf("Hello\n");
  return 0;
}


cstdio by itself is missing remove, rename, tmpfile, tmpnam (I check the check
box that reports to fill this in in configtool, and made the path value the same
as the otthers.

isostream misses the ctype_base define (i.e. _U , _L, ...)

I can work-around these two to get the compile to work, however, the link is
missing std::ios_base::Init::Init[in-charge]() and its' coresponding destructor.

Any help would be greatly appreciated



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


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