Bug 97199 - Redefining _FRIBIDI_ADD_ALIAS
Summary: Redefining _FRIBIDI_ADD_ALIAS
Status: NEW
Alias: None
Product: FriBidi
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium minor
Assignee: Behdad Esfahbod
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-03 13:25 UTC by Sascha Brawer
Modified: 2016-08-03 13:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.