[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question about error detection
From: |
Cooper, Robert (Ftg Ops) |
Subject: |
Question about error detection |
Date: |
Thu, 2 Oct 2014 14:19:36 -0400 |
I am new to the group, so I have zero knowledge about prior questions other
than what I viewed just now in the last couple of archives. Background - We
are migrating from ClearCase to Git/Stash, and I am migrating many of our
builds to GNU Make from ClearMake.
I have created a new workflow for a shared C++ repository where the
applications which share this code first call a recipe to build the shared
library as a prerequisite to the main portion of the build. (This recipe in
fact invokes a new make command, and generally I have no issues with that
technique.)
The mystery is - sometimes when there is a build error in the shared library,
the build terminates with an error as expected. But other times, an error
occurs and if my eyes are on the screen, I am lucky enough to see it fly by yet
the build continues as if nothing failed. Make is reporting Error 1, as shown
below. I cut off the rest of the output but it does continue from there, going
from directory to directory and running the build commands. I can't spot a
difference between the cases where it detects the errors and the ones where it
doesn't, and my build code is quite uniform project to project. I've searched
on-line but have not found any references to a similar issue so far.
I/fmdre/home1/a028758/projects/cpp-shlib/src/framework -I.
-I/fmdre/home1/a028758/projects/cpp-shlib/src/XrefTask -o
/fmdre/home1/a028758/projects/oae/bld-shlib/obj/src/activ2fps64/Activ2FpsConverter.o
-c Activ2FpsConverter.cpp
Activ2FpsConverter.cpp: In member function âstd::auto_ptr<SymbolAliasResult>
Activ2FpsConverter::convert(const ActivInstrumentId&, int,
ActivInstrumentEntry*, std::vector<SymbolDerivationAlgorithm*,
std::allocator<SymbolDerivationAlgorithm*> >*)â:
Activ2FpsConverter.cpp:870: error: âAIE_PROCESSING_TYPE_ETFâ is not a member of
âActivInstrumentEntryâ
Makefile.gnu:48: recipe for target
'/fmdre/home1/a028758/projects/oae/bld-shlib/obj/src/activ2fps64/Activ2FpsConverter.o'
failed
make[2]: ***
[/fmdre/home1/a028758/projects/oae/bld-shlib/obj/src/activ2fps64/Activ2FpsConverter.o]
Error 1
make[2]: Leaving directory
'/fmdre/home1/a028758/projects/cpp-shlib/src/activ2fps'
make[2]: Entering directory
'/fmdre/home1/a028758/projects/cpp-shlib/src/cbginterface'
Thanks,
Bob Cooper
- - - - - - - - - - - - - - - -
Bob Cooper
EI Market Data
(o) 603-791-1799
(m) 603-305-9599
- Question about error detection,
Cooper, Robert (Ftg Ops) <=