I'll do it this evening.
[edit] Here it is.
Sorry about the fbp file, we don't have the same wxFB version.
Multiple patterns for err/warn
-
- CodeLite Guru
- Posts: 351
- Joined: Mon Oct 20, 2008 7:26 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: Multiple patterns for err/warn
You do not have the required permissions to view the files attached to this post.
Jérémie
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Multiple patterns for err/warn
Thanks. I made some modifications (mostly GUI) and committed it as is (it did not break anything for me)
Changes done:
- I set the columns length for the list control to be 200/50/50 pixels
- Added horizontals / verticals rules to the list controls
- Added validation to the 'Add Pattern Dialog' (all fields must be filled before added)
- The buttons Update / Del (for both error / warning patterns) were renamed to Edit / Delete, in addition they are enabled only if there is a selection in the list
- Minor GUI glitch with the 'Add Compiler Pattern' dialog - on the first time it was too small + extending it in height make it look funny
Other than that, great job !
Committed
Eran
Changes done:
- I set the columns length for the list control to be 200/50/50 pixels
- Added horizontals / verticals rules to the list controls
- Added validation to the 'Add Pattern Dialog' (all fields must be filled before added)
- The buttons Update / Del (for both error / warning patterns) were renamed to Edit / Delete, in addition they are enabled only if there is a selection in the list
- Minor GUI glitch with the 'Add Compiler Pattern' dialog - on the first time it was too small + extending it in height make it look funny
Other than that, great job !
Committed
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Guru
- Posts: 351
- Joined: Mon Oct 20, 2008 7:26 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: Multiple patterns for err/warn
Hi Eran
I was pleased to help you.
Tell me if you I can give you some time on a task. Looking to the roadmap, I think can only help you on the wx2.9 task (I don't know GDB enough, and I don't know where to start with precompiled header).
PS : I use UnitTest++ 1.4, and it seems that the UnitTestCppOutputParser class is deprecated for this version... With MSW, I got the same output as on MAC (looking to the sources) :
I was pleased to help you.
Tell me if you I can give you some time on a task. Looking to the roadmap, I think can only help you on the wx2.9 task (I don't know GDB enough, and I don't know where to start with precompiled header).
PS : I use UnitTest++ 1.4, and it seems that the UnitTestCppOutputParser class is deprecated for this version... With MSW, I got the same output as on MAC (looking to the sources) :
Code: Select all
C:/_Perso/projets/projectmgr/test/main.cpp:61: error: Failure in MyTest: Expected 1 but was 2
FAILURE: 1 out of 1 tests failed (1 failures).
Jérémie
-
- CodeLite Expert
- Posts: 159
- Joined: Mon Nov 03, 2008 9:17 pm
- Contact:
Re: Multiple patterns for err/warn
Hi, here are some linker errors which haven't been recognized by your proposed pattern:
Regards
Michal
Code: Select all
g++ -o bin/gcc/wxSFDemo .objsu/GUI.o .objsu/MainFrame.o .objsu/MainApp.o .objsu/FrameCanvas.o .objsu/wx_pch.o "-L." "-Lbin/gcc" "-L../../build" "-L../../lib/gcc_dll" -s `wx-config --debug=no --static=no --libs`
.objsu/MainFrame.o: In function `MainFrm::OnHowerColor(wxColourPickerEvent&)':
MainFrame.cpp:(.text+0x5a): undefined reference to `wxSFShapeCanvas::SetHoverColour(wxColour const&)'
.objsu/MainFrame.o: In function `MainFrm::OnSlider(wxScrollEvent&)':
MainFrame.cpp:(.text+0xc5): undefined reference to `wxSFShapeCanvas::SetScale(double)'
.objsu/MainFrame.o: In function `MainFrm::OnUpdateTool(wxUpdateUIEvent&)':
MainFrame.cpp:(.text+0x18e): undefined reference to `wxSFShapeCanvas::CanAlignSelected()'
MainFrame.cpp:(.text+0x1b3): undefined reference to `wxSFShapeCanvas::m_fEnableGC'
.objsu/MainFrame.o: In function `MainFrm::OnTool(wxCommandEvent&)':
MainFrame.cpp:(.text+0x394): undefined reference to `wxSFShapeCanvas::AbortInteractiveConnection()'
MainFrame.cpp:(.text+0x3ba): undefined reference to `wxSFShapeCanvas::AlignSelected(wxSFShapeCanvas::HALIGN, wxSFShapeCanvas::VALIGN)'
MainFrame.cpp:(.text+0x3da): undefined reference to `wxSFShapeCanvas::AlignSelected(wxSFShapeCanvas::HALIGN, wxSFShapeCanvas::VALIGN)'
MainFrame.cpp:(.text+0x3fa): undefined reference to `wxSFShapeCanvas::AlignSelected(wxSFShapeCanvas::HALIGN, wxSFShapeCanvas::VALIGN)'
MainFrame.cpp:(.text+0x422): undefined reference to `wxSFShapeCanvas::AlignSelected(wxSFShapeCanvas::HALIGN, wxSFShapeCanvas::VALIGN)'
MainFrame.cpp:(.text+0x44a): undefined reference to `wxSFShapeCanvas::AlignSelected(wxSFShapeCanvas::HALIGN, wxSFShapeCanvas::VALIGN)'
MainFrame.cpp:(.text+0x55b): undefined reference to `wxSFShapeCanvas::m_fEnableGC'
MainFrame.cpp:(.text+0x569): undefined reference to `wxSFShapeCanvas::EnableGC(bool)'
MainFrame.cpp:(.text+0x577): undefined reference to `wxSFDiagramManager::UpdateAll()'
MainFrame.cpp:(.text+0x5d1): undefined reference to `wxSFShapeCanvas::ShowShadows(bool, wxSFShapeCanvas::SHADOWMODE)'
MainFrame.cpp:(.text+0x62a): undefined reference to `wxSFShapeCanvas::AlignSelected(wxSFShapeCanvas::HALIGN, wxSFShapeCanvas::VALIGN)'
.objsu/MainFrame.o: In function `MainFrm::OnUpdatePaste(wxUpdateUIEvent&)':
MainFrame.cpp:(.text+0x69b): undefined reference to `wxSFShapeCanvas::CanPaste()'
.objsu/MainFrame.o: In function `MainFrm::OnUpdateCut(wxUpdateUIEvent&)':
MainFrame.cpp:(.text+0x6eb): undefined reference to `wxSFShapeCanvas::CanCut()'
.objsu/MainFrame.o: In function `MainFrm::OnUpdateCopy(wxUpdateUIEvent&)':
MainFrame.cpp:(.text+0x73b): undefined reference to `wxSFShapeCanvas::CanCopy()'
.objsu/MainFrame.o: In function `MainFrm::OnUpdateRedo(wxUpdateUIEvent&)':
MainFrame.cpp:(.text+0x78b): undefined reference to `wxSFShapeCanvas::CanRedo()'
.objsu/MainFrame.o: In function `MainFrm::OnUpdateUndo(wxUpdateUIEvent&)':
MainFrame.cpp:(.text+0x7db): undefined reference to `wxSFShapeCanvas::CanUndo()'
.objsu/MainFrame.o: In function `MainFrm::CleanUp()':
MainFrame.cpp:(.text+0x82e): undefined reference to `wxSFDiagramManager::Clear()'
MainFrame.cpp:(.text+0x863): undefined reference to `wxSFThumbnail::SetCanvas(wxSFShapeCanvas*)'
.objsu/MainFrame.o: In function `MainFrm::OnExit(wxCommandEvent&)':
MainFrame.cpp:(.text+0x116e): undefined reference to `wxSFDiagramManager::Clear()'
MainFrame.cpp:(.text+0x11a3): undefined reference to `wxSFThumbnail::SetCanvas(wxSFShapeCanvas*)'
.objsu/MainFrame.o: In function `MainFrm::OnClose(wxCloseEvent&)':
MainFrame.cpp:(.text+0x11de): undefined reference to `wxSFDiagramManager::Clear()'
MainFrame.cpp:(.text+0x1213): undefined reference to `wxSFThumbnail::SetCanvas(wxSFShapeCanvas*)'
.objsu/MainFrame.o: In function `MainFrm::OnExportToBMP(wxCommandEvent&)':
MainFrame.cpp:(.text+0x1433): undefined reference to `wxSFShapeCanvas::SaveCanvasToBMP(wxString const&)'
.objsu/MainFrame.o: In function `MainFrm::OnSave(wxCommandEvent&)':
MainFrame.cpp:(.text+0x17fb): undefined reference to `wxSFShapeCanvas::SaveCanvas(wxString const&)'
.objsu/MainFrame.o: In function `MainFrm::OnLoad(wxCommandEvent&)':
MainFrame.cpp:(.text+0x1b78): undefined reference to `wxSFShapeCanvas::LoadCanvas(wxString const&)'
.objsu/MainFrame.o: In function `MainFrm::OnNew(wxCommandEvent&)':
MainFrame.cpp:(.text+0x1d7d): undefined reference to `wxSFDiagramManager::Clear()'
MainFrame.cpp:(.text+0x1d8e): undefined reference to `wxSFShapeCanvas::ClearCanvasHistory()'
MainFrame.cpp:(.text+0x1dc6): undefined reference to `wxSFDiagramManager::AcceptShape(wxString const&)'
MainFrame.cpp:(.text+0x1ddf): undefined reference to `wxSFShapeCanvas::SaveCanvasState()'
.objsu/MainFrame.o: In function `ThumbFrm::ThumbFrm(wxWindow*)':
MainFrame.cpp:(.text+0x1f05): undefined reference to `wxSFThumbnail::wxSFThumbnail(wxWindow*)'
.objsu/MainFrame.o: In function `MainFrm::MainFrm(wxWindow*)':
MainFrame.cpp:(.text+0x208f): undefined reference to `wxSFDiagramManager::wxSFDiagramManager()'
MainFrame.cpp:(.text+0x30fa): undefined reference to `wxSFShapeCanvas::EnableGC(bool)'
MainFrame.cpp:(.text+0x3132): undefined reference to `wxSFThumbnail::SetCanvas(wxSFShapeCanvas*)'
MainFrame.cpp:(.text+0x740c): undefined reference to `wxSFDiagramManager::~wxSFDiagramManager()'
.objsu/MainFrame.o: In function `ThumbFrm::ThumbFrm(wxWindow*)':
MainFrame.cpp:(.text+0x8765): undefined reference to `wxSFThumbnail::wxSFThumbnail(wxWindow*)'
.objsu/MainFrame.o: In function `MainFrm::MainFrm(wxWindow*)':
MainFrame.cpp:(.text+0x88ef): undefined reference to `wxSFDiagramManager::wxSFDiagramManager()'
MainFrame.cpp:(.text+0x997c): undefined reference to `wxSFShapeCanvas::EnableGC(bool)'
MainFrame.cpp:(.text+0x99b4): undefined reference to `wxSFThumbnail::SetCanvas(wxSFShapeCanvas*)'
MainFrame.cpp:(.text+0xdcd4): undefined reference to `wxSFDiagramManager::~wxSFDiagramManager()'
.objsu/MainFrame.o: In function `MainFrm::OnPageSetup(wxCommandEvent&)':
MainFrame.cpp:(.text+0x104): undefined reference to `wxSFShapeCanvas::PageSetup()'
.objsu/MainFrame.o: In function `MainFrm::OnPrintPreview(wxCommandEvent&)':
MainFrame.cpp:(.text+0x124): undefined reference to `wxSFShapeCanvas::PrintPreview()'
.objsu/MainFrame.o: In function `MainFrm::OnPrint(wxCommandEvent&)':
MainFrame.cpp:(.text+0x14b): undefined reference to `wxSFShapeCanvas::Print(bool)'
.objsu/MainFrame.o: In function `MainFrm::OnSelectAll(wxCommandEvent&)':
MainFrame.cpp:(.text+0x674): undefined reference to `wxSFShapeCanvas::SelectAll()'
.objsu/MainFrame.o: In function `MainFrm::OnPaste(wxCommandEvent&)':
MainFrame.cpp:(.text+0x6c4): undefined reference to `wxSFShapeCanvas::Paste()'
.objsu/MainFrame.o: In function `MainFrm::OnCut(wxCommandEvent&)':
MainFrame.cpp:(.text+0x714): undefined reference to `wxSFShapeCanvas::Cut()'
.objsu/MainFrame.o: In function `MainFrm::OnCopy(wxCommandEvent&)':
MainFrame.cpp:(.text+0x764): undefined reference to `wxSFShapeCanvas::Copy()'
.objsu/MainFrame.o: In function `MainFrm::OnRedo(wxCommandEvent&)':
MainFrame.cpp:(.text+0x7b4): undefined reference to `wxSFShapeCanvas::Redo()'
.objsu/MainFrame.o: In function `MainFrm::OnUndo(wxCommandEvent&)':
MainFrame.cpp:(.text+0x804): undefined reference to `wxSFShapeCanvas::Undo()'
.objsu/MainFrame.o: In function `MainFrm::~MainFrm()':
MainFrame.cpp:(.text._ZN7MainFrmD0Ev[MainFrm::~MainFrm()]+0x1a): undefined reference to `wxSFDiagramManager::~wxSFDiagramManager()'
.objsu/MainFrame.o: In function `MainFrm::~MainFrm()':
MainFrame.cpp:(.text._ZN7MainFrmD1Ev[MainFrm::~MainFrm()]+0x1a): undefined reference to `wxSFDiagramManager::~wxSFDiagramManager()'
.objsu/FrameCanvas.o: In function `FrameCanvas::~FrameCanvas()':
FrameCanvas.cpp:(.text+0x8e): undefined reference to `wxSFShapeCanvas::~wxSFShapeCanvas()'
.objsu/FrameCanvas.o: In function `FrameCanvas::FrameCanvas(wxSFDiagramManager*, wxWindow*, int)':
FrameCanvas.cpp:(.text+0x14d): undefined reference to `wxSFShapeCanvas::wxSFShapeCanvas(wxSFDiagramManager*, wxWindow*, int, wxPoint const&, wxSize const&, long)'
FrameCanvas.cpp:(.text+0x272): undefined reference to `wxSFDiagramManager::AcceptShape(wxString const&)'
FrameCanvas.cpp:(.text+0x2a0): undefined reference to `wxSFCanvasHistory::SetMode(wxSFCanvasHistory::MODE)'
FrameCanvas.cpp:(.text+0x2a8): undefined reference to `wxSFShapeCanvas::SaveCanvasState()'
FrameCanvas.cpp:(.text+0x2d0): undefined reference to `wxSFShapeCanvas::~wxSFShapeCanvas()'
.objsu/FrameCanvas.o: In function `FrameCanvas::FrameCanvas(wxSFDiagramManager*, wxWindow*, int)':
FrameCanvas.cpp:(.text+0x35d): undefined reference to `wxSFShapeCanvas::wxSFShapeCanvas(wxSFDiagramManager*, wxWindow*, int, wxPoint const&, wxSize const&, long)'
FrameCanvas.cpp:(.text+0x482): undefined reference to `wxSFDiagramManager::AcceptShape(wxString const&)'
FrameCanvas.cpp:(.text+0x4b0): undefined reference to `wxSFCanvasHistory::SetMode(wxSFCanvasHistory::MODE)'
FrameCanvas.cpp:(.text+0x4b8): undefined reference to `wxSFShapeCanvas::SaveCanvasState()'
FrameCanvas.cpp:(.text+0x4e0): undefined reference to `wxSFShapeCanvas::~wxSFShapeCanvas()'
.objsu/FrameCanvas.o: In function `FrameCanvas::OnLeftDown(wxMouseEvent&)':
FrameCanvas.cpp:(.text+0x55b): undefined reference to `wxSFShapeCanvas::OnLeftDown(wxMouseEvent&)'
FrameCanvas.cpp:(.text+0x598): undefined reference to `wxSFLineShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x5a6): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, wxPoint const&, bool)'
FrameCanvas.cpp:(.text+0x5e0): undefined reference to `wxSFCommonFcn::Conv2RealPoint(wxPoint const&)'
FrameCanvas.cpp:(.text+0x640): undefined reference to `wxSFCommonFcn::Conv2RealPoint(wxPoint const&)'
FrameCanvas.cpp:(.text+0x730): undefined reference to `wxSFRectShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x73e): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, wxPoint const&, bool)'
FrameCanvas.cpp:(.text+0x888): undefined reference to `wxSFSquareShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x896): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, wxPoint const&, bool)'
FrameCanvas.cpp:(.text+0xa18): undefined reference to `wxSFRoundRectShape::ms_classInfo'
FrameCanvas.cpp:(.text+0xa26): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, wxPoint const&, bool)'
FrameCanvas.cpp:(.text+0xbb8): undefined reference to `wxSFEllipseShape::ms_classInfo'
FrameCanvas.cpp:(.text+0xbc6): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, wxPoint const&, bool)'
FrameCanvas.cpp:(.text+0xd58): undefined reference to `wxSFCircleShape::ms_classInfo'
FrameCanvas.cpp:(.text+0xd66): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, wxPoint const&, bool)'
FrameCanvas.cpp:(.text+0xf00): undefined reference to `wxSFDiamondShape::ms_classInfo'
FrameCanvas.cpp:(.text+0xf0e): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, wxPoint const&, bool)'
FrameCanvas.cpp:(.text+0x1129): undefined reference to `wxSFShapeCanvas::ShowShadows(bool, wxSFShapeCanvas::SHADOWMODE)'
FrameCanvas.cpp:(.text+0x1131): undefined reference to `wxSFShapeCanvas::SaveCanvasState()'
FrameCanvas.cpp:(.text+0x114f): undefined reference to `wxSFShapeBase::Refresh()'
FrameCanvas.cpp:(.text+0x129e): undefined reference to `wxSFLineShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x12a6): undefined reference to `wxSFShapeCanvas::StartInteractiveConnection(wxClassInfo*, wxPoint const&)'
FrameCanvas.cpp:(.text+0x12de): undefined reference to `wxSFCurveShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x12e6): undefined reference to `wxSFShapeCanvas::StartInteractiveConnection(wxClassInfo*, wxPoint const&)'
FrameCanvas.cpp:(.text+0x131e): undefined reference to `wxSFOrthoLineShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x1326): undefined reference to `wxSFShapeCanvas::StartInteractiveConnection(wxClassInfo*, wxPoint const&)'
FrameCanvas.cpp:(.text+0x1361): undefined reference to `wxSFFlexGridShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x136f): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, wxPoint const&, bool)'
FrameCanvas.cpp:(.text+0x151a): undefined reference to `wxSFEllipseShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x1528): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, bool)'
FrameCanvas.cpp:(.text+0x153e): undefined reference to `wxSFGridShape::AppendToGrid(wxSFShapeBase*)'
FrameCanvas.cpp:(.text+0x154e): undefined reference to `wxSFDiamondShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x155c): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, bool)'
FrameCanvas.cpp:(.text+0x1568): undefined reference to `wxSFGridShape::AppendToGrid(wxSFShapeBase*)'
FrameCanvas.cpp:(.text+0x1578): undefined reference to `wxSFRoundRectShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x1586): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, bool)'
FrameCanvas.cpp:(.text+0x159a): undefined reference to `wxSFGridShape::InsertToGrid(int, wxSFShapeBase*)'
FrameCanvas.cpp:(.text+0x15aa): undefined reference to `wxSFCircleShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x15b8): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, bool)'
FrameCanvas.cpp:(.text+0x15d4): undefined reference to `wxSFGridShape::InsertToGrid(int, int, wxSFShapeBase*)'
FrameCanvas.cpp:(.text+0x1623): undefined reference to `wxSFEditTextShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x1631): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, wxPoint const&, bool)'
FrameCanvas.cpp:(.text+0x1663): undefined reference to `wxSFTextShape::SetText(wxString const&)'
FrameCanvas.cpp:(.text+0x17b8): undefined reference to `wxSFBitmapShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x17c6): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, wxPoint const&, bool)'
FrameCanvas.cpp:(.text+0x18b5): undefined reference to `wxSFBitmapShape::CreateFromFile(wxString const&, wxBitmapType)'
FrameCanvas.cpp:(.text+0x19b0): undefined reference to `wxSFGridShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x19be): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, wxPoint const&, bool)'
FrameCanvas.cpp:(.text+0x1a12): undefined reference to `wxSFTextShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x1a20): undefined reference to `wxSFDiagramManager::AddShape(wxClassInfo*, wxPoint const&, bool)'
.objsu/FrameCanvas.o: In function `FrameCanvas::OnConnectionFinished(wxSFLineShape*)':
FrameCanvas.cpp:(.text+0x1f68): undefined reference to `wxSFSolidArrow::ms_classInfo'
FrameCanvas.cpp:(.text+0x1f73): undefined reference to `wxSFLineShape::SetTrgArrow(wxClassInfo*)'
FrameCanvas.cpp:(.text+0x1f7b): undefined reference to `wxSFCircleArrow::ms_classInfo'
FrameCanvas.cpp:(.text+0x1f83): undefined reference to `wxSFLineShape::SetSrcArrow(wxClassInfo*)'
.objsu/FrameCanvas.o: In function `FrameCanvas::OnRightDown(wxMouseEvent&)':
FrameCanvas.cpp:(.text+0x21e8): undefined reference to `wxSFShapeCanvas::GetShapeUnderCursor(wxSFShapeCanvas::SEARCHMODE)'
FrameCanvas.cpp:(.text+0x2280): undefined reference to `wxSFShapeBase::GetChildShapes(wxClassInfo*, ShapeList&, bool, xsSerializable::SEARCHMODE)'
FrameCanvas.cpp:(.text+0x2365): undefined reference to `wxSFLineShape::ms_classInfo'
FrameCanvas.cpp:(.text+0x2371): undefined reference to `wxSFShapeBase::GetNeighbours(ShapeList&, wxClassInfo*, wxSFShapeBase::CONNECTMODE, bool)'
FrameCanvas.cpp:(.text+0x24db): undefined reference to `wxSFShapeCanvas::OnRightDown(wxMouseEvent&)'
.objsu/FrameCanvas.o: In function `FrameCanvas::OnKeyDown(wxKeyEvent&)':
FrameCanvas.cpp:(.text+0x5a): undefined reference to `wxSFShapeCanvas::OnKeyDown(wxKeyEvent&)'
.objsu/FrameCanvas.o: In function `FrameCanvas::~FrameCanvas()':
FrameCanvas.cpp:(.text+0xce): undefined reference to `wxSFShapeCanvas::~wxSFShapeCanvas()'
.objsu/FrameCanvas.o: In function `FrameCanvas::~FrameCanvas()':
FrameCanvas.cpp:(.text+0xfe): undefined reference to `wxSFShapeCanvas::~wxSFShapeCanvas()'
.objsu/FrameCanvas.o: In function `ShapeList::CreateNode(wxNodeBase*, wxNodeBase*, void*, wxListKey const&)':
FrameCanvas.cpp:(.text._ZN9ShapeList10CreateNodeEP10wxNodeBaseS1_PvRK9wxListKey[ShapeList::CreateNode(wxNodeBase*, wxNodeBase*, void*, wxListKey const&)]+0x42): undefined reference to `vtable for wxShapeListNode'
.objsu/FrameCanvas.o:(.rodata._ZTV11FrameCanvas[vtable for FrameCanvas]+0x2c): undefined reference to `wxSFShapeCanvas::GetEventTable() const'
.objsu/FrameCanvas.o:(.rodata._ZTV11FrameCanvas[vtable for FrameCanvas]+0x30): undefined reference to `wxSFShapeCanvas::GetEventHashTable() const'
.objsu/FrameCanvas.o:(.rodata._ZTV11FrameCanvas[vtable for FrameCanvas]+0x284): undefined reference to `wxSFShapeCanvas::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&)'
.objsu/FrameCanvas.o:(.rodata._ZTV11FrameCanvas[vtable for FrameCanvas]+0x28c): undefined reference to `wxSFShapeCanvas::OnLeftDoubleClick(wxMouseEvent&)'
.objsu/FrameCanvas.o:(.rodata._ZTV11FrameCanvas[vtable for FrameCanvas]+0x290): undefined reference to `wxSFShapeCanvas::OnLeftUp(wxMouseEvent&)'
.objsu/FrameCanvas.o:(.rodata._ZTV11FrameCanvas[vtable for FrameCanvas]+0x298): undefined reference to `wxSFShapeCanvas::OnRightDoubleClick(wxMouseEvent&)'
.objsu/FrameCanvas.o:(.rodata._ZTV11FrameCanvas[vtable for FrameCanvas]+0x29c): undefined reference to `wxSFShapeCanvas::OnRightUp(wxMouseEvent&)'
.objsu/FrameCanvas.o:(.rodata._ZTV11FrameCanvas[vtable for FrameCanvas]+0x2a0): undefined reference to `wxSFShapeCanvas::OnMouseMove(wxMouseEvent&)'
.objsu/FrameCanvas.o:(.rodata._ZTV11FrameCanvas[vtable for FrameCanvas]+0x2a8): undefined reference to `wxSFShapeCanvas::OnTextChange(wxSFEditTextShape*)'
.objsu/FrameCanvas.o:(.rodata._ZTV11FrameCanvas[vtable for FrameCanvas]+0x2b0): undefined reference to `wxSFShapeCanvas::OnDrop(int, int, wxDragResult, ShapeList const&)'
.objsu/FrameCanvas.o:(.rodata._ZTV11FrameCanvas[vtable for FrameCanvas]+0x2b4): undefined reference to `wxSFShapeCanvas::OnPaste(ShapeList const&)'
.objsu/FrameCanvas.o:(.rodata._ZTI11FrameCanvas[typeinfo for FrameCanvas]+0x8): undefined reference to `typeinfo for wxSFShapeCanvas'
collect2: ld returned 1 exit status
make[1]: *** [bin/gcc/wxSFDemo] Error 1
make: *** [All] Error 2
Michal
-
- CodeLite Curious
- Posts: 1
- Joined: Wed Oct 22, 2008 5:57 am
- Contact:
Re: Multiple patterns for err/warn
GNU g++ patterns
There are a lot more special ASCII characters that are valid in a file path: # ,! ,[ ,] ,( ,),{,} ,' , "," ,^,@, ...
Actually I'm using the character "!", which doesn't match with the given patterns.
Maybe it's better to exclude all illegal characters to match the path: :,*,?Works pretty good.
Warning pattern:
Other Errors
To match:
Use:
There are a lot more special ASCII characters that are valid in a file path: # ,! ,[ ,] ,( ,),{,} ,' , "," ,^,@, ...
Actually I'm using the character "!", which doesn't match with the given patterns.
Maybe it's better to exclude all illegal characters to match the path: :,*,?
Code: Select all
(^[a-zA-Z:]{0,2}[^\?\*\:\"]+ *)(:)([0-9]+)( *: error:)
1
3
Warning pattern:
Code: Select all
(^[a-zA-Z:]{0,2}[^\?\*\:\"]+ *)(:)([0-9]+)( *: warning)
1
3
To match:
Code: Select all
F:/!my_app/gui.h:178: multiple definition of `Button::Button(MyGui*)'
./Debug/gui.o:F:/!my_app/gui.h:178: first defined here
./Debug/player.o:F:/!my_app/gui.h:183: multiple definition of `Button::createButtonFromIcon(char const*, char const*)'
./Debug/gui.o:F:/!my_app/gui.h:183: first defined here
MainFrame.cpp:(.text+0x394): undefined reference to `wxSFShapeCanvas::AbortInteractiveConnection()'
Code: Select all
^(.*\.o:)?([a-zA-Z:]{0,2}[^\?\*\:\"]+ *)(:)([0-9]+)( *: multiple definition)
2
4
^(.*\.o:)?([a-zA-Z:]{0,2}[^\?\*\:\"]+ *)(:)([0-9]+)( *: first defined)
2
4
(^[^\?\*\:\"]+)(:)\(\.text\+(0x[0-9a-fA-F]+)\)(: undefined reference)
1
3