Bug ID 1158322
Summary GCC 10: libmspub build fails
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter martin.liska@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Fails with:

[   92s] In file included from MSPUBMetaData.cpp:10:
[   92s] MSPUBMetaData.h:38:60: error: 'uint32_t' has not been declared
[   92s]    38 |   void readPropertySet(librevenge::RVNGInputStream *input,
uint32_t offset, char *FMTID);
[   92s]       |                                                           
^~~~~~~~
[   92s] MSPUBMetaData.h:40:67: error: 'uint32_t' has not been declared
[   92s]    40 |   void readTypedPropertyValue(librevenge::RVNGInputStream
*input, uint32_t index, uint32_t offset, char *FMTID);
[   92s]       |                                                               
   ^~~~~~~~
[   92s] MSPUBMetaData.h:40:83: error: 'uint32_t' has not been declared
[   92s]    40 |   void readTypedPropertyValue(librevenge::RVNGInputStream
*input, uint32_t index, uint32_t offset, char *FMTID);
[   92s]       |                                                               
                   ^~~~~~~~
[   92s] MSPUBMetaData.h:43:3: error: 'uint32_t' does not name a type
[   92s]    43 |   uint32_t getCodePage();
[   92s]       |   ^~~~~~~~
[   92s] MSPUBMetaData.h:45:26: error: 'uint32_t' was not declared in this
scope
[   92s]    45 |   std::vector< std::pair<uint32_t, uint32_t> >
m_idsAndOffsets;
[   92s]       |                          ^~~~~~~~
[   92s] MSPUBMetaData.h:45:36: error: 'uint32_t' was not declared in this
scope
[   92s]    45 |   std::vector< std::pair<uint32_t, uint32_t> >
m_idsAndOffsets;
[   92s]       |                                    ^~~~~~~~
[   92s] MSPUBMetaData.h:45:44: error: template argument 1 is invalid
[   92s]    45 |   std::vector< std::pair<uint32_t, uint32_t> >
m_idsAndOffsets;
[   92s]       |                                            ^
[   92s] MSPUBMetaData.h:45:44: error: template argument 2 is invalid
[   92s] MSPUBMetaData.h:45:46: error: template argument 1 is invalid
[   92s]    45 |   std::vector< std::pair<uint32_t, uint32_t> >
m_idsAndOffsets;
[   92s]       |                                              ^
[   92s] MSPUBMetaData.h:45:46: error: template argument 2 is invalid
[   92s] MSPUBMetaData.h:46:12: error: 'uint16_t' was not declared in this
scope
[   92s]    46 |   std::map<uint16_t, uint16_t> m_typedPropertyValues;
[   92s]       |            ^~~~~~~~
[   92s] MSPUBMetaData.h:46:22: error: 'uint16_t' was not declared in this
scope
[   92s]    46 |   std::map<uint16_t, uint16_t> m_typedPropertyValues;
[   92s]       |                      ^~~~~~~~
[   92s] MSPUBMetaData.h:46:30: error: template argument 1 is invalid
[   92s]    46 |   std::map<uint16_t, uint16_t> m_typedPropertyValues;

It's fixed upstream, lemme fix it.


You are receiving this mail because: