Developer forums (C::B DEVELOPMENT STRICTLY!) > Compiler Framework Redesign

catch of multi-line compiler messages

(1/2) > >>

darmar:
Most of messages from GNU Fortran compiler are multi-line, e.g.:

--- Code: ---/home/darius/Other/test_f1/main.f90:17.12:
    implicit non e
            1
Error: Syntax error in IMPLICIT statement at (1)
--- End code ---

I can't find a way to catch such messages properly with the current implementation of compiler framework.
Therefore I added few small changes which enables catching such messages.

Maybe somebody could review this patch?

oBFusCATed:
Interesting. Most new compilers (gcc, clang) produce similar multiline messages, so this patch might be useful for them. :)
I'll take a look.

darmar:
Here I am sending just a bit modified version of the same patch.

oBFusCATed:
Can you show a screenshot with the results?

darmar:
The screenshots with added comments are attached.

Navigation

[0] Message Index

[#] Next page

Go to full version