From: "Ben Mann" <address@hidden>
Reply-To: address@hidden
To: "'d x'" <address@hidden>, <address@hidden>
Subject: RE: [avr-gcc-list] AVR-GCC and other GCCs with Visual Studio
Date: Tue, 26 Jul 2005 12:52:19 +0800
Er, yes almost.
Sorry but the thread name was changed when a fix was posted:
See
http://lists.gnu.org/archive/html/avr-gcc-list/2005-06/msg00116.html
contains the correct script.
[Does anyone know if this could be corrected?]
Ben
-----Original Message-----
From: d x [mailto:address@hidden
Sent: Tuesday, 26 July 2005 12:41 PM
To: address@hidden; address@hidden
Subject: RE: [avr-gcc-list] AVR-GCC and other GCCs with Visual Studio
Thanks for the reply. I put following in my makefile, but it not work! I
a lot!
# Compile: create object files from C source files.
%.o : %.c
@echo
@echo $(MSG_COMPILING) $<
@echo "$(CC) -c $(ALL_CFLAGS) $< -o $@ 2>'errors.txt'"
sed "s/c:\([0-9]*\)/c(\1)/" errors.txt
>From: "Ben Mann" <address@hidden>
>
>Hi,
>
>Please check the archives, this was discussed recently:
>http://lists.gnu.org/archive/html/avr-gcc-list/2005-06/msg00099.html
>and describes a sed script you add to your makefile.
>
>And thanks Ron!
>
>Ben
>
>-----Original Message-----
>Subject: [avr-gcc-list] AVR-GCC and other GCCs with Visual Studio
>
>Compiler Error Output
>-- Visual C++ can interpret compiler error output if it is formatted
>correctly. The format must be:
>full_path_and_filename(line number) : errortext
>c:\code\windows\bootterm\serialinterface.h(4) : fatal error C1083
>
>If AVR-GCC compiler error output is formatted this way, Visual C++ will
>jump to the file and location of the error upon double-clicking the