HomePhorge

Define facilities to control compiler diagnostics and use them for __FILENAME__

Referenced Files
None
Subscribers
None

Description

Define facilities to control compiler diagnostics and use them for FILENAME

Compiler warnings can be disabled by using the macros defined in
include/rosa/support/diagnostics.h.
The macro FILENAME in include/rosa/config/config.h indexes a C string,
about which some compilers warn (-Wstring-plus-int).
FILENAME is now defined as project_relative_path(FILE)
and the warning is disabled in the function definition.

Details

Provenance
Dávid JuhászAuthored on Feb 8 2020, 10:07 PM
juhaszPushed on Feb 8 2020, 10:09 PM
Parents
R20:c6296b5e5e4d: Add design overview to documentation
Branches
Unknown
Tags
Unknown

Event Timeline

Dávid Juhász <juhasz.david.scholar@gmail.com> committed R20:823d8e4d0dc6: Define facilities to control compiler diagnostics and use them for __FILENAME__ (authored by Dávid Juhász <juhasz.david.scholar@gmail.com>).Feb 8 2020, 10:07 PM