[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[dsdp-tcf-dev] [Bug 311420] New: Move CONFIG_MAIN into main.c
|
https://bugs.eclipse.org/bugs/show_bug.cgi?id=311420
Product/Component: Target Management / TCF
Summary: Move CONFIG_MAIN into main.c
Classification: DSDP
Product: Target Management
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: TCF
AssignedTo: dsdp.tm.tcf-inbox@xxxxxxxxxxx
ReportedBy: cdtdoug@xxxxxxxxx
QAContact: martin.oberhuber@xxxxxxxxxxxxx
The CDT indexer is really confused when parsing config.h. There is a chunk of
code there that is only processed when included from main.c. In general, it's
confusing to the reader of a header file if it is included multiple times in a
project with a different set of conditional blocks enabled. It is also bad
style to put function implementations into header files.
This patch moves that code into main.c. It doesn't appear to be called from
anywhere else.
--
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.