fprime-util impl
should generate fully qualified header guards
#1943
Labels
fprime-util impl
should generate fully qualified header guards
#1943
Feature Description
While working on a custom
Framer.fpp
I am hand-editing the autogeneratedFramer.hpp-template
header guards to be fully-qualified to avoid accidentally#ifndef
'ing too liberally. If there exists aFoo.Framer
andBar.Framer
there will be a collision if the autogenerated header guards are taken as-is.For example, my
Framer.fpp
withinmodule Foo
generates the same guards asFramer.fpp
withinmodule Bar
:It may be best to instead generate:
Rationale
This is a bit of a mix between a feature request / bug report. It's somewhat reasonable to expect hand-editing these
#ifndef
guards but if this can be autogenerated safely to begin with that would be nice to have.The text was updated successfully, but these errors were encountered: