Error during manual generation with QDoc
-
During the QDoc execution I get the following error
(qdoc) Could not parse source file "*******/Mqtt_Helper.cpp" error code: 4
And manual for this unit was not generated.
Various research into what could be causing this error led me to the linked file. This file is a third part. I assume that
attribute((packed)) macros is source of issue.
I have tryed to exclude this file in .qdocconf, but it does not helped.Any ideas are welcome
#ifndef __DOMAIN_DEVICE__ #define __DOMAIN_DEVICE__ // -------------------------------------------------------------------------------- // Enums // -------------------------------------------------------------------------------- typedef enum __attribute__((packed)) { DOMAIN_DEVICE_ONLINE_EVENT, DOMAIN_DEVICE_OFFLINE_EVENT, DOMAIN_DEVICE_ANNOUNCEMENT_EVENT, } domain_device_events_t; typedef enum __attribute__((packed)) { DOMAIN_FIRMWARE_DEPLOYMENT_TYPE_INSTALL, DOMAIN_FIRMWARE_DEPLOYMENT_TYPE_STORAGE } domain_firmware_deployment_type_t; /** * @brief Connection status of device */ typedef enum __attribute__((packed)) { DOMAIN_DEVICE_CONNECTION_STATUS_CONNECTED, DOMAIN_DEVICE_CONNECTION_STATUS_DISCONNECTED, DOMAIN_DEVICE_CONNECTION_STATUS_UNREACHABLE } domain_device_connection_status_t; #endif // __DOMAIN_DEVICE__