Skip to content

Conversation

@giordano
Copy link
Member

FORCE_INLINE is also defined in src/support/dtypes.h, and both dtypes.h and MurmurHash3.c are included by src/support/hashing.c, causing a clash:

In file included from /home/mose/repo/julia/src/support/hashing.c:51:
/home/mose/repo/julia/src/support/MurmurHash3.c:15: warning: "FORCE_INLINE" redefined
   15 | #define FORCE_INLINE inline __attribute__((always_inline))
      |
In file included from /home/mose/repo/julia/src/support/hashing.c:7:
/home/mose/repo/julia/src/support/dtypes.h:120: note: this is the location of the previous definition
  120 | #define FORCE_INLINE static inline __attribute__((always_inline))
      |

Ref: https://github.com/JuliaLang/julia/pull/47292/files#r1088465126

`FORCE_INLINE` is also defined in `src/support/dtypes.h`, and both `dtypes.h`
and `MurmurHash3.c` are included by `src/support/hashing.c`, causing a clash:

```
In file included from /home/mose/repo/julia/src/support/hashing.c:51:
/home/mose/repo/julia/src/support/MurmurHash3.c:15: warning: "FORCE_INLINE" redefined
   15 | #define FORCE_INLINE inline __attribute__((always_inline))
      |
In file included from /home/mose/repo/julia/src/support/hashing.c:7:
/home/mose/repo/julia/src/support/dtypes.h:120: note: this is the location of the previous definition
  120 | #define FORCE_INLINE static inline __attribute__((always_inline))
      |
```
@vtjnash vtjnash merged commit d918576 into JuliaLang:master Feb 1, 2023
@giordano giordano deleted the mg/warn branch February 1, 2023 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants