Suppress linker errors in certain contexts [message #1704884] |
Mon, 10 August 2015 12:13 |
Anakreontas Mentis Messages: 85 Registered: October 2014 |
Member |
|
|
How could I intercept error reporting for linker errors? In some cases the information contained in the source files of my DSL is not sufficient to determine if a link failure is an error. Let me give an example for clarity.
Files may include other files in the same way as #include works is C (i.e. the contents of the included file replace the #include directive). The included file may refer to variables declared in the file or variables declared in the file including it. In the second case the linker fails to resolve the variables. There is no easy solution to that since a file may be included by multiple ones. What I would like to do instead is to suppress error reporting in that case. Is better to not report a possible error then to produce reports for false errors.
Could you advice me how to suppress error reporting in specific contexts?
|
|
|
Powered by
FUDForum. Page generated in 0.02679 seconds