Skip to content

WIP: Improve error reporting in ext_client_setup. Fail, if there is a mismatch when using struct_info.

Bastian Löher requested to merge ext_data_setup_error_reporting into master

This is my first iteration on the topic. It works (good), but is not overly pretty. Not pretty, because it respects the constness of the struct_info inside the match function. And then in case of failure sets the things anyways. This will fail hard on the first bad match. Another idea is to have a flag to tell it to not care about bad matches and run through as before. Then, Håkan's solution proposed via mail is of course more elaborate.

Merge request reports

Loading