[haiku-bugs] [Haiku] #14731: build broken since hrev52613

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 01 Dec 2018 11:40:07 -0000

#14731: build broken since hrev52613
-----------------------+------------------------------
 Reporter:  luroh      |        Owner:  Barrett
     Type:  bug        |       Status:  assigned
 Priority:  normal     |    Milestone:  Unscheduled
Component:  - General  |      Version:  R1/Development
 Keywords:             |   Blocked By:
 Blocking:             |  Has a Patch:  0
 Platform:  All        |
-----------------------+------------------------------
 gcc2h, hrev52613:

 {{{
 C++ generated/objects/haiku/x86/release/add-
 ons/media/plugins/ape_reader/APEReader.o
 In file included from headers/os/codec/Reader.h:8:0,
                  from src/add-ons/media/plugins/ape_reader/APEReader.h:9,
                  from src/add-
 ons/media/plugins/ape_reader/APEReader.cpp:9:
 src/add-ons/media/plugins/ape_reader/APEReader.cpp: In function
 'BCodecKit::BMediaPlugin* instantiate_plugin()':
 headers/os/codec/MediaPlugin.h:51:27: error: conflicting declaration of
 'BCodecKit::BMediaPlugin* instantiate_plugin()' with 'C' linkage
   BCodecKit::BMediaPlugin* instantiate_plugin()    \
                            ^
 src/add-ons/media/plugins/ape_reader/APEReader.cpp:13:1: note: in
 expansion of macro 'B_DECLARE_CODEC_KIT_PLUGIN'
  B_DECLARE_CODEC_KIT_PLUGIN(
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
 In file included from src/add-
 ons/media/plugins/ape_reader/APEReader.cpp:9:0:
 src/add-ons/media/plugins/ape_reader/APEReader.h:77:15: note: previous
 declaration with 'C++' linkage
  BMediaPlugin* instantiate_plugin();
                ^~~~~~~~~~~~~~~~~~
 }}}

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14731>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: