[haiku-commits] BOM: r42789 Painter.cpp:158:1: error: no return statement in function returning non-void

Build-O-Matic tracking the following repositories:
haiku r42789 @ http://svn.haiku-os.org/haiku/haiku/trunk
buildtools r42756 @ http://svn.haiku-os.org/haiku/buildtools/trunk
Host OS                : FreeBSD 8.2-RELEASE i386 32bit
Affected Targets:

    ppc : ../haiku/configure --use-gcc-pipe --use-xattr --cross-tools-prefix 
/Build-O-Matic/output/generated.ppc/cross-tools/bin/powerpc-apple-haiku- 
      |
      |-- @nightly-raw
      |     |-- command: jam -q -j1 -sHAIKU_IGNORE_USER_BUILD_CONFIG=1 
-sHAIKU_DISTRO_COMPATIBILITY=default @nightly-raw
      |     |-- last working revision: 42782
      |     .
      |
      |-- haiku-image
      |     |-- command: jam -q -j1 -sHAIKU_IGNORE_USER_BUILD_CONFIG=1 
-sHAIKU_DISTRO_COMPATIBILITY=default haiku-image
      |     |-- last working revision: 42782
      |     .
      |
      .

Log Snippet :

/Build-O-Matic/output/haiku/src/servers/app/drawing/remote/RemoteMessage.h:257:2:
 warning: 'sizeDummy' may be used uninitialized in this function
/Build-O-Matic/output/haiku/src/servers/app/drawing/remote/RemoteMessage.h:230:9:
 note: 'sizeDummy' was declared here
/Build-O-Matic/output/haiku/src/servers/app/drawing/remote/RemoteMessage.h: In 
member function 'void RemoteHWInterface::_Disconnect()':
/Build-O-Matic/output/haiku/src/servers/app/drawing/remote/RemoteMessage.h:257:2:
 warning: 'sizeDummy' may be used uninitialized in this function
/Build-O-Matic/output/haiku/src/servers/app/drawing/remote/RemoteMessage.h:230:9:
 note: 'sizeDummy' was declared here
/Build-O-Matic/output/haiku/src/servers/app/drawing/remote/RemoteMessage.h: In 
member function 'virtual void RemoteHWInterface::SetDragBitmap(const 
ServerBitmap*, const BPoint&)':
/Build-O-Matic/output/haiku/src/servers/app/drawing/remote/RemoteMessage.h:257:2:
 warning: 'sizeDummy' may be used uninitialized in this function
/Build-O-Matic/output/haiku/src/servers/app/drawing/remote/RemoteMessage.h:230:9:
 note: 'sizeDummy' was declared here
/Build-O-Matic/output/haiku/src/servers/app/drawing/remote/RemoteMessage.h: In 
member function 'virtual void RemoteHWInterface::SetCursor(ServerCursor*)':
/Build-O-Matic/output/haiku/src/servers/app/drawing/remote/RemoteMessage.h:257:2:
 warning: 'sizeDummy' may be used uninitialized in this function
/Build-O-Matic/output/haiku/src/servers/app/drawing/remote/RemoteMessage.h:230:9:
 note: 'sizeDummy' was declared here
C++ 
/Build-O-Matic/output/generated.ppc/objects/haiku/ppc/release/servers/app/drawing/remote/RemoteMessage.o
 
C++ 
/Build-O-Matic/output/generated.ppc/objects/haiku/ppc/release/servers/app/drawing/remote/StreamingRingBuffer.o
 
Archive 
/Build-O-Matic/output/generated.ppc/objects/haiku/ppc/release/servers/app/drawing/remote/libasremote.a
 
Ranlib 
/Build-O-Matic/output/generated.ppc/objects/haiku/ppc/release/servers/app/drawing/remote/libasremote.a
 
MkDir1 
/Build-O-Matic/output/generated.ppc/objects/haiku/ppc/release/servers/app/drawing/Painter
 
C++ 
/Build-O-Matic/output/generated.ppc/objects/haiku/ppc/release/servers/app/drawing/Painter/GlobalSubpixelSettings.o
 
C++ 
/Build-O-Matic/output/generated.ppc/objects/haiku/ppc/release/servers/app/drawing/Painter/Painter.o
 
cc1plus: warnings being treated as errors
/Build-O-Matic/output/haiku/src/servers/app/drawing/Painter/Painter.cpp: In 
function 'uint32 detect_simd()':
/Build-O-Matic/output/haiku/src/servers/app/drawing/Painter/Painter.cpp:158:1: 
error: no return statement in function returning non-void

/Build-O-Matic/output/generated.ppc/cross-tools/bin/powerpc-apple-haiku-gcc -c 
"/Build-O-Matic/output/haiku/src/servers/app/drawing/Painter/Painter.cpp" -O 
-Wall -Wno-trigraphs -Wno-ctor-dtor-privacy -Woverloaded-virtual 
-Wpointer-arith -Wcast-align -Wsign-compare -Wno-multichar -pipe 
-fno-strict-aliasing -fno-tree-vrp -nostdinc -Wno-deprecated 
-D_ZETA_USING_DEPRECATED_API_=1 -D_ZETA_TS_FIND_DIR_=1 -Werror 
-Wno-error=uninitialized -D__HAIKU__ -DHAIKU_DISTRO_COMPATIBILITY_DEFAULT 
-D__POWERPC__ -DARCH_ppc -DBOOT_ARCHIVE_IMAGE_OFFSET=192 
-DHAIKU_INCLUDE_PATENTED_CODE=0 -DHAIKU_TARGET_PLATFORM_HAIKU -iquote 
/Build-O-Matic/output/haiku/build/user_config_headers -iquote 
/Build-O-Matic/output/haiku/build/config_headers -iquote 
/Build-O-Matic/output/haiku/src/servers/app/drawing/Painter -iquote 
/Build-O-Matic/output/generated.ppc/objects/common/servers/app/drawing/Painter 
-iquote 
/Build-O-Matic/output/generated.ppc/objects/freebsd/x86/common/servers/app/drawing/Painter
 -iquote 
/Build-O-Matic/output/generated.ppc/objects/haiku/ppc/common/servers/app/drawing/Painter
 -iquote 
/Build-O-Matic/output/haiku/src/servers/app/drawing/Painter/drawing_modes 
-iquote /Build-O-Matic/output/haiku/src/servers/app -iquote 
/Build-O-Matic/output/haiku/src/servers/app/font -iquote 
/Build-O-Matic/output/haiku/src/servers/app/drawing -iquote 
/Build-O-Matic/output/haiku/src/servers/app/drawing/Painter/drawing_modes -I 
/Build-O-Matic/output/haiku/headers/libs/agg -I 
/Build-O-Matic/output/haiku/headers/private/app -I 
/Build-O-Matic/output/haiku/headers/private/graphics -I 
/Build-O-Matic/output/haiku/headers/private/interface -I 
/Build-O-Matic/output/haiku/headers/private/kernel -I 
/Build-O-Matic/output/haiku/headers/private/shared -I 
/Build-O-Matic/output/haiku/headers/libs/freetype2 -I 
/Build-O-Matic/output/generated.ppc/cross-tools/lib/gcc/powerpc-apple-haiku/4.5.3/../../../../powerpc-apple-haiku/include/c++/4.5.3
 -I 
/Build-O-Matic/output/generated.ppc/cross-tools/lib/gcc/powerpc-apple-haiku/4.5.3/../../../../powerpc-apple-haiku/include/c++/4.5.3/powerpc-apple-haiku
 -I 
/Build-O-Matic/output/generated.ppc/cross-tools/lib/gcc/powerpc-apple-haiku/4.5.3/../../../../powerpc-apple-haiku/include/c++/4.5.3/backward
 -I 
/Build-O-Matic/output/generated.ppc/cross-tools/lib/gcc/powerpc-apple-haiku/4.5.3/../../../../powerpc-apple-haiku/include/c++/4.5.3/ext
 -I 
/Build-O-Matic/output/generated.ppc/cross-tools/lib/gcc/powerpc-apple-haiku/4.5.3/include
 -I 
/Build-O-Matic/output/generated.ppc/cross-tools/lib/gcc/powerpc-apple-haiku/4.5.3/include-fixed
 -I /Build-O-Matic/output/haiku/headers -I 
/Build-O-Matic/output/haiku/headers/posix -I 
/Build-O-Matic/output/haiku/headers/glibc -I 
/Build-O-Matic/output/haiku/headers/os -I 
/Build-O-Matic/output/haiku/headers/os/add-ons -I 
/Build-O-Matic/output/haiku/headers/os/add-ons/file_system -I 
/Build-O-Matic/output/haiku/headers/os/add-ons/graphics -I 
/Build-O-Matic/output/haiku/headers/os/add-ons/input_server -I 
/Build-O-Matic/output/haiku/headers/os/add-ons/registrar -I 
/Build-O-Matic/output/haiku/headers/os/add-ons/screen_saver -I 
/Build-O-Matic/output/haiku/headers/os/add-ons/tracker -I 
/Build-O-Matic/output/haiku/headers/os/app -I 
/Build-O-Matic/output/haiku/headers/os/device -I 
/Build-O-Matic/output/haiku/headers/os/drivers -I 
/Build-O-Matic/output/haiku/headers/os/game -I 
/Build-O-Matic/output/haiku/headers/os/interface -I 
/Build-O-Matic/output/haiku/headers/os/kernel -I 
/Build-O-Matic/output/haiku/headers/os/locale -I 
/Build-O-Matic/output/haiku/headers/os/media -I 
/Build-O-Matic/output/haiku/headers/os/mail -I 
/Build-O-Matic/output/haiku/headers/os/midi -I 
/Build-O-Matic/output/haiku/headers/os/midi2 -I 
/Build-O-Matic/output/haiku/headers/os/net -I 
/Build-O-Matic/output/haiku/headers/os/opengl -I 
/Build-O-Matic/output/haiku/headers/os/storage -I 
/Build-O-Matic/output/haiku/headers/os/support -I 
/Build-O-Matic/output/haiku/headers/os/translation -I 
/Build-O-Matic/output/haiku/headers/private/. -o 
"/Build-O-Matic/output/generated.ppc/objects/haiku/ppc/release/servers/app/drawing/Painter/Painter.o"
 ;

...failed C++ 
/Build-O-Matic/output/generated.ppc/objects/haiku/ppc/release/servers/app/drawing/Painter/Painter.o
 ...
...skipped libpainter.a for lack of libpainter.a(Painter.o)...
...skipped app_server for lack of libpainter.a...
...skipped <HaikuImage>haiku.image-copy-files-dummy-system/servers for lack of 
app_server...
...skipped haiku-nightly.image for lack of <HaikuImage>haiku.image-copy-files...
...failed updating 1 target(s)...
...skipped 4 target(s)...
...updated 3633 target(s)...

Other related posts:

  • » [haiku-commits] BOM: r42789 Painter.cpp:158:1: error: no return statement in function returning non-void - buildomatic