On Wed, 2014-01-29 at 15:36 -0500, Chuck Rolke wrote:
QPID_MSG has lots of uses with identical args. The file/line is the only way
to tell them apart.
Gahh, you're right.
Couldn't you just define another macro that's just like QPID_MSG but without
the file/line and use that where you need
On Wed, 2014-01-29 at 11:10 -0600, Kerry Bonin wrote:
FWIW, I've been bit in the past when I tried this, when a small subset of
our messages were generic enough that we got multiple hits, and the
developer performing the search guessed incorrectly which was the actual
source location.
OK,
FWIW, I've been bit in the past when I tried this, when a small subset of
our messages were generic enough that we got multiple hits, and the
developer performing the search guessed incorrectly which was the actual
source location.
On Wed, Jan 29, 2014 at 10:45 AM, Alan Conway acon...@redhat.com
I prefer to have the information. It's pretty easy to specify nothing more than
the exception text which is hard to grep for.
-Original Message-
From: Alan Conway [mailto:acon...@redhat.com]
Sent: Wednesday, January 29, 2014 11:46 AM
To: dev
Subject: [C++] Getting rid of file:line
Oh, but I love that feature!
And isn't it anyway off by default if we do not set --log-source ?
- Original Message -
There's a convenience macro QPID_MSG in qpid/cpp/src/qpid/Msg.h that is
used to format exception messages all over the place.
The current implementation includes the
QPID_MSG has lots of uses with identical args. The file/line is the only way to
tell them apart.
Couldn't you just define another macro that's just like QPID_MSG but without
the file/line and use that where you need it leaving the rest alone?
- Original Message -
From: Alan Conway