[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix for output format nonconformance to GTest and GCC messages style

On Wednesday 21 August 2013 18:57:42 Aleksandr Vinokurov wrote:
> Hello all,


I just came back from vacation. I will look into it this week. Thanks so far 
> I'm new to cmocka and tried it just recently on my project. I work in Emacs
> and found this nonconformance to GCC messages style and GTest (as Andreas
> said here http://cmocka.org/archive/cmocka/2013-03/0000005.html)
> The problem is that error messages does not start with the file:line
> information but with "ERROR: " level. That does not allow Emacs to form a
> link from the error message to the source line of the point. GCC always
> start its messages with file:line if it knows it (not only error messages
> but notes and warnings too) and Emacs parses them well to allow
> point-n-click and next-previous-errors workflow.
> So I've cloned your repo and proposed a fix of all error messages where the
> file:line information is known. You can pull it into yours if you wish.
> Here is the fix:
> https://github.com/aleksandr-vin/cmock/commit/0461d01d7e74bf00651a5ca0703d27
> 55e517cde4

Andreas Schneider                   GPG-ID: F33E3FC6
www.cryptomilk.org                asn@xxxxxxxxxxxxxx