Skip to content

Instantly share code, notes, and snippets.

@fendor
Created August 11, 2020 14:10
Show Gist options
  • Save fendor/b215bf74c3da79cd508fd83a43ebf462 to your computer and use it in GitHub Desktop.
Save fendor/b215bf74c3da79cd508fd83a43ebf462 to your computer and use it in GitHub Desktop.
includes/stg/MiscClosures.h:378:14: error:
note: previous declaration of ‘stg_copyArray_barrier’ was here
378 | RTS_FUN_DECL(stg_copyArray_barrier);
| ^~~~~~~~~~~~~~~~~~~~~
|
378 | RTS_FUN_DECL(stg_copyArray_barrier);
| ^
includes/stg/MiscClosures.h:35:61: error:
note: in definition of macro ‘RTS_FUN_DECL’
35 | # define RTS_FUN_DECL(f) extern DLL_IMPORT_RTS StgFunPtr f(void)
| ^
|
35 | # define RTS_FUN_DECL(f) extern DLL_IMPORT_RTS StgFunPtr f(void)
| ^
cc1: warning: unrecognized command line option ‘-Wno-nonportable-include-path’
In file included from includes/Rts.h:35,
from rts/sm/NonMovingSweep.c:9:0: error:
includes/rts/NonMoving.h:29:5: error:
warning: redundant redeclaration of ‘stg_copyArray_barrier’ [-Wredundant-decls]
29 | EF_(stg_copyArray_barrier);
| ^~~~~~~~~~~~~~~~~~~~~
|
29 | EF_(stg_copyArray_barrier);
| ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment