Description
Our team is often integrating MULTIPLE packages and we often come across include file NAME SPACE collision problems.
For example - FreeRTOS has a "list.h" - as does a number of other packages we use. the problem is I often need to to use both.
I know what I am suggesting is an "incompatible change" - that can cause breaking for some but it is easily resolved.
Please consider creating a private include directory for all freertos header files.
This is very similar to the "X11" header files, ie: #include <x11/fonts.h>
Example: https://github.com/wxWidgets/wxWidgets/tree/master/include/wx/x11
For FreeRTOS instead of doing this:
OLD: #include "list.h"
NEW: #include "freertos/list.h"
The alternative of choosing the ORDER of "-I" paths on the command line is often not really a vialbe solution because at times you need BOTH versions of the "list.h" file
By Moving all FreeRTOS headers into an 'include/freertos' directory - this would simplify things when people use things other then freertos in a project.
Metadata
Metadata
Assignees
Type
Projects
Status