Skip to content

Commit

Permalink
Issue #369: resolved discrepancy between GCC and Clang.
Browse files Browse the repository at this point in the history
  • Loading branch information
hfp committed Mar 4, 2020
1 parent 13c1f1a commit c3e5d45
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,6 @@ endif
# avoid to link with C++ standard library
FORCE_CXX = 0

# GCC-10 style linkage (error for duplicate symbols)
COMMON = 0

# include common Makefile artifacts
include $(ROOTDIR)/Makefile.inc

Expand Down
2 changes: 1 addition & 1 deletion include/libxsmm_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@

/* LIBXSMM_ATTRIBUTE_USED: mark library functions as used to avoid warning */
#if defined(__GNUC__) || defined(__clang__) || (defined(__INTEL_COMPILER) && !defined(_WIN32))
# if !defined(__cplusplus)
# if !defined(__cplusplus) || !defined(__clang__)
# define LIBXSMM_ATTRIBUTE_COMMON LIBXSMM_ATTRIBUTE(common)
# else
# define LIBXSMM_ATTRIBUTE_COMMON
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
master-1.14-1401
master-1.14-1402

0 comments on commit c3e5d45

Please sign in to comment.