[haiku-bugs] Re: [Haiku] #10272: Incorporation of GCC 4.8

  • From: "mt" <trac@xxxxxxxxxxxx>
  • Date: Fri, 06 Dec 2013 13:00:18 -0000

#10272: Incorporation of GCC 4.8
----------------------------+----------------------------
   Reporter:  korli         |      Owner:  nobody
       Type:  enhancement   |     Status:  assigned
   Priority:  normal        |  Milestone:  Unscheduled
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by mt):

 Hi, I'm trying to build with gcc 4.8, but I can't solve apps/Installer
 issue. any ideas?

 {{{
 C++ /home/haiku/haiku/haiku/generated-
 gcc48/objects/haiku/x86/release/apps/installer/CopyEngine.o
 In file included from
 /home/haiku/haiku/haiku/src/apps/installer/CopyEngine.cpp:6:0:
 /home/haiku/haiku/haiku/src/apps/installer/CopyEngine.h: In member
 function 'void CopyEngine::_WriteThread()':
 /home/haiku/haiku/haiku/src/apps/installer/CopyEngine.h:79:17: error:
 'buffer' may be used uninitialized in this function [-Werror=maybe-
 uninitialized]
       free(buffer);
                  ^
 /home/haiku/haiku/haiku/src/apps/installer/CopyEngine.cpp:544:11: note:
 'buffer' was declared here
    Buffer* buffer;
            ^
 cc1plus: all warnings being treated as errors
 }}}

--
Ticket URL: <http://dev.haiku-os.org/ticket/10272#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: