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]
Other format: [Raw text]

[Bug libstdc++/80340] New: error: 'write' was not declared in this scope


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80340

            Bug ID: 80340
           Summary: error: 'write' was not declared in this scope
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sbansal at ciena dot com
  Target Milestone: ---

While building GCC, I am seeing below error :

../../../../gcc-4.8/libstdc++-v3/libsupc++/pure.cc: In function 'void
__cxxabiv1::__cxa_pure_virtual()':
../../../../gcc-4.8/libstdc++-v3/libsupc++/pure.cc:32:53: error: 'write' was
not declared in this scope
 # define writestr(str) write(2, str, sizeof(str) - 1)
                                                     ^
../../../../gcc-4.8/libstdc++-v3/libsupc++/pure.cc:49:3: note: in expansion of
macro 'writestr'
   writestr ("pure virtual method called\n");
   ^
../../../../gcc-4.8/libstdc++-v3/libsupc++/pure.cc: In function 'void
__cxxabiv1::__cxa_deleted_virtual()':
../../../../gcc-4.8/libstdc++-v3/libsupc++/pure.cc:32:53: error: 'write' was
not declared in this scope
 # define writestr(str) write(2, str, sizeof(str) - 1)
                                                     ^
../../../../gcc-4.8/libstdc++-v3/libsupc++/pure.cc:56:3: note: in expansion of
macro 'writestr'
   writestr ("deleted virtual method called\n");

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