#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3021000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
#include "gz/msgs/entity.pb.h"
#include "gz/msgs/header.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_gz_2fmsgs_2fspherical_5fcoordinates_2eproto GZ_MSGS_VISIBLE
with the port_def, port_undef, port_def dance described in the bug.
If I remove the PROTOBUF_DEPRECATED_ENUM from the enum member definition, everything is fine.
Environment
Description
related to #451
Steps to reproduce
I'm building turtlebot4_simulator with Ionic debs using from source vendor packages on Jazzy.
I think that we might fall into: https://bugreports.qt.io/browse/QTBUG-96175 since the header file affected looks like:
with the port_def, port_undef, port_def dance described in the bug.
If I remove the
PROTOBUF_DEPRECATED_ENUM
from the enum member definition, everything is fine.Output