[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Could someone have some look at sift please



Hi Andreas,

Andreas Tille, on 2025-01-09:
> /usr/include/blimps/protomat.h: At top level:
> /usr/include/blimps/protomat.h:74:8: error: redefinition of 'struct motif_struct'
>    74 | struct motif_struct {
>       |        ^~~~~~~~~~~~
> In file included from /usr/include/blimps/blocksprogs.h:21:
> /usr/include/blimps/protomat.h:74:8: note: originally defined here
>    74 | struct motif_struct {
>       |        ^~~~~~~~~~~~

The issue stems from a lack of header protection stanza in
/usr/include/blimps/protomat.h as shipped by the libblimps3-dev
package.  I noted that there were embedded copies of this header
with such protections added.  The build failure can be fixed by
modifying the libblimps3-dev header to prepend and append the
macros:

	#ifndef PROTOMAT_H_
	#define PROTOMAT_H_
	
	[…]
	
	#endif

This should protect multiple redefinitions caused by multiple
inclusions of the header file.

Have a nice day,  :)
-- 
  .''`.  Étienne Mollier <emollier@debian.org>
 : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/1, please excuse my verbosity
   `-    on air: Silent Skies - Solitude

Attachment: signature.asc
Description: PGP signature


Reply to: