Bug 97199

Summary: Redefining _FRIBIDI_ADD_ALIAS
Product: FriBidi Reporter: Sascha Brawer <sascha>
Component: generalAssignee: Behdad Esfahbod <freedesktop>
Status: NEW --- QA Contact:
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Sascha Brawer 2016-08-03 13:25:30 UTC
Compiler warning for duplicate definition of _FRIBIDI_ADD_ALIAS.


make  gen-bidi-type-tab
make[4]: Entering directory '/home/sascha/src/fribidi/gen.tab'
  CC       gen-bidi-type-tab.o
gen-bidi-type-tab.c:99:0: warning: "_FRIBIDI_ADD_ALIAS" redefined
 # define _FRIBIDI_ADD_ALIAS(TYPE1,TYPE2) TYPE1 = TYPE2,
 ^
In file included from ../lib/fribidi-bidi-types.h:179:0,
                 from ../lib/fribidi-common.h:102,
                 from ../lib/common.h:39,
                 from gen-bidi-type-tab.c:34:
../lib/fribidi-bidi-types-list.h:40:0: note: this is the location of the previous definition
 # define _FRIBIDI_ADD_ALIAS(x1,x2)
 ^
  CC       packtab.o
  CCLD     gen-bidi-type-tab
make[4]: Leaving directory '/home/sascha/src/fribidi/gen.tab'
Comment 1 Sascha Brawer 2016-08-03 13:27:47 UTC
This was with gcc 5.3.1 on debian-testing 4.4.0-1-amd64, but it can probably also be reproduced on other platforms.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.