[haiku-bugs] [Haiku] #8168: Error in AppFileInfo.cpp:183: `B_MIME_STRING_TYPE' undeclared (first use this function)

  • From: "scottmc" <trac@xxxxxxxxxxxx>
  • Date: Wed, 30 Nov 2011 21:32:46 -0000

#8168: Error in AppFileInfo.cpp:183: `B_MIME_STRING_TYPE' undeclared (first use
this function)
-----------------------+------------------------------
 Reporter:  scottmc    |        Owner:  nobody
     Type:  bug        |       Status:  new
 Priority:  normal     |    Milestone:  R1
Component:  - General  |      Version:  R1/Development
 Keywords:             |   Blocked By:
 Blocking:             |  Has a Patch:  0
 Platform:  All        |
-----------------------+------------------------------
 I got this warning when trying to jam haiku on haiku inside of VMware
 Workstation.

 {{{
 /Haiku8GB/haiku/haiku/src/build/libbe/storage/AppFileInfo.cpp: In method
 `status_t BAppFileInfo::GetType(char *) const':
 /Haiku8GB/haiku/haiku/src/build/libbe/storage/AppFileInfo.cpp:183:
 `B_MIME_STRING_TYPE' undeclared (first use this function)
 /Haiku8GB/haiku/haiku/src/build/libbe/storage/AppFileInfo.cpp:183: (Each
 undeclared identifier is reported only once
 /Haiku8GB/haiku/haiku/src/build/libbe/storage/AppFileInfo.cpp:183: for
 each function it appears in.)
 }}}

 And got cc1plus: Invalid option `-Wno-invalid-offsetof'
 {{{
 MkDir1 generated/objects/haiku/x86/common/system
 ...on 200th target...
 MkDir1 generated/objects/haiku/x86/common/system/kernel
 MkDir1 generated/objects/haiku_host/x86/release/tools/gensyscalls
 C++
 generated/objects/haiku_host/x86/release/tools/gensyscalls/gensyscalls.o
 MkDir1 generated/objects/haiku/x86/common/tools/gensyscalls
 C++
 generated/objects/haiku_host/x86/release/tools/gensyscalls/gensyscallinfos.o
 Link
 generated/objects/haiku_host/x86/release/tools/gensyscalls/gensyscallinfos
 Chmod1
 generated/objects/haiku_host/x86/release/tools/gensyscalls/gensyscallinfos
 PreprocessSyscalls
 generated/objects/haiku/x86/common/tools/gensyscalls/syscalls.h.pp.parsable
 GenSyscallInfos1
 generated/objects/haiku/x86/common/tools/gensyscalls/gensyscalls_infos.cpp
 generated/objects/haiku/x86/common/tools/gensyscalls/syscall_types_sizes.h.cpp
 CreateAsmStructOffsetsHeader1
 generated/objects/haiku/x86/common/tools/gensyscalls/syscall_types_sizes.h
 cc1plus: Invalid option `-Wno-invalid-offsetof'
 C++
 generated/objects/haiku_host/x86/release/tools/gensyscalls/gensyscalls_infos.o
 }}}

 This was on r42747, clean git clone, with gcc-2.95.3-2011-11-22 installed
 from zip.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8168>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: