Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 764451 Details for
Bug 832796
dev-util/codeblocks-9999 fails to build (PATCH)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
first patch
0001-fix-cbDEBUG.patch (text/plain), 1.63 KB, created by
brankob
on 2022-02-06 09:05:55 UTC
(
hide
)
Description:
first patch
Filename:
MIME Type:
Creator:
brankob
Created:
2022-02-06 09:05:55 UTC
Size:
1.63 KB
patch
obsolete
>--- a/src/plugins/contrib/BrowseTracker/BrowseTracker.cpp >+++ b/src/plugins/contrib/BrowseTracker/BrowseTracker.cpp >@@ -1639,8 +1639,10 @@ > // Note: when eb does not exist in the hash in which case > // wxWidgets will automatically enter it along with a default (0) BrowseMarks ptr. > // HashAddBrowse_Marks() should have added it above and also allocated a BrowseMarks* map; >+#ifdef cbDEBUG > cbAssertNonFatal(m_EbBrowse_MarksHash.find(eb) != m_EbBrowse_MarksHash.end()); > cbAssertNonFatal(m_EbBrowse_MarksHash[eb] != nullptr); >+#endif > if (m_EbBrowse_MarksHash.find(eb) == m_EbBrowse_MarksHash.end()) break; > if (not m_EbBrowse_MarksHash[eb]) break; //avoid a possible crash here > m_EbBrowse_MarksHash[eb]->RecordMarksFrom( *pBrowse_MarksArc); >--- a/src/plugins/contrib/BrowseTracker/BrowseMarks.cpp >+++ b/src/plugins/contrib/BrowseTracker/BrowseMarks.cpp >@@ -268,14 +268,18 @@ > EditorBase* eb = m_pEdMgr->GetEditor(m_filePath); > // Let's get paranoid here, since a crash was reported Nov. 2021 > // https://forums.codeblocks.org/index.php?topic=24716.msg168611#msg168611 >+#ifdef cbDEBUG > cbAssertNonFatal(eb != nullptr); >+#endif > #if defined(LOGGING) > if (not eb) asm("int3"); /*trap*/ > #endif > if (not eb) return; > > cbEditor* cbed = Manager::Get()->GetEditorManager()->GetBuiltinEditor(eb); >+#ifdef cbDEBUG > cbAssertNonFatal(cbed != nullptr); >+#endif > if (not cbed) return; > > cbStyledTextCtrl* control = cbed->GetControl();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 832796
: 764451 |
764452