Loading ...
Sorry, an error occurred while loading the content.

41408errorformat for keil c51

Expand Messages
  • Jim Knoll
    Jul 1, 2003
      Hello,

      I am trying to get the errorformat for the Keil C51 compiler set
      properly. The output has several lines from my build script that I
      would like to ignore and the error and warning messages. Here is some
      sample output:

      --- Module: ..\src\at17c512.c
      "*** LINT: ..\src\bootload.c(115) Error 10: Expecting ';'"
      *** ERROR C141 IN LINE 219 of SRC\BOOTLOAD.C: syntax error near 'T_U8'

      C51 COMPILER V7.06 - SN: xxxxx-xxxxxx
      COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2003

      C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)

      C51 COMPILER V7.06 - SN: xxxxx-xxxxxx
      COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2003
      *** ERROR C141 IN LINE 115 OF SRC\BOOTLOAD.C: syntax error near 'init_serial'

      I thought an errorformat like the following might match the compiler
      errors, but it doesn't work.

      set errorformat=^[\*]\{3}\ ERROR\ C%n\ IN\ LINE\ %l\ OF\ %f:\ %m

      Does anyone have any ideas for an errorformat string for this compiler.

      Thanks,

      Jim