mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
The object files are compiled simultaneously, which can result in several error messages about missing headers. The current regex used to find missing headers in the compiler's output employs a greedy search, potentially capturing multiple error messages from different compilation units. This can cause bug reports where the original component cannot be identified. Strengthen the regex to ensure it only processes the first reported error. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>