Does this build fix the problem with the new flag dialog in the compiler settings?What problem?
See here http://forums.codeblocks.org/index.php/topic,21207.msg144691.html#msg144691Does this build fix the problem with the new flag dialog in the compiler settings?What problem?
C:\Tool\Development\CodeBlocks\Nightlies\2016_06_21\bin\share\codeblocks\plugins\wxSmithContribItems.dll: not loaded (missing symbols?)
...
In relation to submission [3967076].
Upon further analysis and investigation we have verified your submission and, as such, the detection(s) for the following file(s) will be removed from our products:
Filename: wxspeedbutton.dll
MD5: 102668EE5DAF98349C3980B532CB9053
SHA256: AC6FA0579276CB1A928AF8C841C4660163B494EF4175E7DD8AD3018585BE3752
Result: Whitelisting for above file is taking effect from now on.
If detection persists, please contact support:
Norton: https://support.norton.com/sp/en/us/home/current/info
SEP: https://support.symantec.com/en_US/endpoint-protection.54619.html
Decisions made by Symantec are subject to change if alterations to the Software are made over time or as classification criteria and/or the policy employed by Symantec changes over time to address the evolving landscape.
If you are a software vendor and would like to upload your software for proactive whitelisting, please complete the following form: https://submit.symantec.com/whitelist/
For more information on best practices to reduce false positives:
http://www.symantec.com/content/en/us/enterprise/white_papers/b-to_increase_downloads-instill_trust_first_WP.en-us.pdf
...
This nightly build is crashes, when select global compiler options and right click to add new compiler flag for SDCC compiler on Windows7 platform. :'(It should be the bug report here: SVN build crashes when trying to editing/adding new compiler flags (http://forums.codeblocks.org/index.php/topic,21207.0.html)
Index: src/sdk/macrosmanager.cpp
===================================================================
--- src/sdk/macrosmanager.cpp (revision 10889)
+++ src/sdk/macrosmanager.cpp (working copy)
@@ -269,7 +269,7 @@
m_Macros[_T("MAKEFILE")] = wxEmptyString;
m_Macros[_T("ALL_PROJECT_FILES")] = wxEmptyString;
}
- else if (project != m_LastProject)
+ else if ( (project != m_LastProject) or (project->GetTitle() != m_ProjectName) )
{
m_LastTarget = nullptr; // reset last target when project changes
m_ProjectWxFileName.Assign(project->GetFilename());
@@ -340,7 +340,7 @@
m_TargetFilename = wxEmptyString;
m_LastTarget = nullptr;
}
- else if (target != m_LastTarget)
+ else if ( (target != m_LastTarget) or (target->GetTitle() != m_TargetName) )
{
wxFileName tod(target->GetOutputFilename());
m_TargetOutputDir = UnixFilename(tod.GetPath(wxPATH_GET_VOLUME | wxPATH_GET_SEPARATOR));
@@ -455,7 +455,8 @@
target = project->GetBuildTarget(project->GetActiveBuildTarget());
}
}
- if (project != m_LastProject || target != m_LastTarget || (editor && (editor->GetFilename() != m_ActiveEditorFilename)) )
+ if (project != m_LastProject || target != m_LastTarget || (editor && (editor->GetFilename() != m_ActiveEditorFilename))
+ || (project && (project->GetTitle() != m_ProjectName)) || (target && (target->GetTitle() != m_TargetName)) )
RecalcVars(project, editor, target);
wxString search;
What if the checked attributes of the 2 projects are the same? ...
What if the checked attributes of the 2 projects are the same?
Index: src/sdk/macrosmanager.cpp
===================================================================
--- src/sdk/macrosmanager.cpp (revision 10889)
+++ src/sdk/macrosmanager.cpp (working copy)
@@ -269,7 +269,10 @@
m_Macros[_T("MAKEFILE")] = wxEmptyString;
m_Macros[_T("ALL_PROJECT_FILES")] = wxEmptyString;
}
- else if (project != m_LastProject)
+ else if ( (project != m_LastProject) || (project->GetTitle() != m_ProjectName)
+ || (UnixFilename(project->GetBasePath()) != m_ProjectDir)
+ || (UnixFilename(project->GetFilename()) != m_ProjectFilename)
+ )
{
m_LastTarget = nullptr; // reset last target when project changes
m_ProjectWxFileName.Assign(project->GetFilename());
@@ -340,7 +343,7 @@
m_TargetFilename = wxEmptyString;
m_LastTarget = nullptr;
}
- else if (target != m_LastTarget)
+ else if ( (target != m_LastTarget) or (target->GetTitle() != m_TargetName) )
{
wxFileName tod(target->GetOutputFilename());
m_TargetOutputDir = UnixFilename(tod.GetPath(wxPATH_GET_VOLUME | wxPATH_GET_SEPARATOR));
@@ -455,7 +458,10 @@
target = project->GetBuildTarget(project->GetActiveBuildTarget());
}
}
- if (project != m_LastProject || target != m_LastTarget || (editor && (editor->GetFilename() != m_ActiveEditorFilename)) )
+ if ( (project != m_LastProject) || (target != m_LastTarget) || (editor && (editor->GetFilename() != m_ActiveEditorFilename))
+ || (project && (UnixFilename(project->GetBasePath()) != m_ProjectDir))
+ || (project && (UnixFilename(project->GetFilename()) != m_ProjectFilename))
+ || (target && (target->GetTitle() != m_TargetName)) )
RecalcVars(project, editor, target);
wxString search;
Index: src/sdk/macrosmanager.cpp
===================================================================
--- src/sdk/macrosmanager.cpp (revision 10889)
+++ src/sdk/macrosmanager.cpp (working copy)
@@ -269,7 +269,10 @@
m_Macros[_T("MAKEFILE")] = wxEmptyString;
m_Macros[_T("ALL_PROJECT_FILES")] = wxEmptyString;
}
- else if (project != m_LastProject)
+ else if ( (project != m_LastProject) || (project->GetTitle() != m_ProjectName)
+ || (UnixFilename(project->GetBasePath()) != m_ProjectDir)
+ || (UnixFilename(m_ProjectWxFileName.GetFullName()) != m_ProjectFilename)
+ )
{
m_LastTarget = nullptr; // reset last target when project changes
m_ProjectWxFileName.Assign(project->GetFilename());
@@ -340,7 +343,7 @@
m_TargetFilename = wxEmptyString;
m_LastTarget = nullptr;
}
- else if (target != m_LastTarget)
+ else if ( (target != m_LastTarget) or (target->GetTitle() != m_TargetName) )
{
wxFileName tod(target->GetOutputFilename());
m_TargetOutputDir = UnixFilename(tod.GetPath(wxPATH_GET_VOLUME | wxPATH_GET_SEPARATOR));
@@ -455,7 +458,10 @@
target = project->GetBuildTarget(project->GetActiveBuildTarget());
}
}
- if (project != m_LastProject || target != m_LastTarget || (editor && (editor->GetFilename() != m_ActiveEditorFilename)) )
+ if (project != m_LastProject || target != m_LastTarget || (editor && (editor->GetFilename() != m_ActiveEditorFilename))
+ || (project && (UnixFilename(project->GetBasePath()) != m_ProjectDir))
+ || (UnixFilename(m_ProjectWxFileName.GetFullName()) != m_ProjectFilename)
+ || (target && (target->GetTitle() != m_TargetName)) )
RecalcVars(project, editor, target);
wxString search;
Why don't you detect project close event and set the m_lastproject to null?
You can leave the pointer comparison probably, just make sure that the pointer is reset when there is no project loaded. Everything else should probably stay the same.
The current comparisons are less overhead then resetting the project pointer for erroneous compilation events.I'm concerned about the robustness and not the performance. I'll give it a try hopefully soon.
Hi guys,
I just noticed that -std=c11 is not available as a standard compiler flag. It's trivial to enable it in "Other compiler options", or add it as a new flag, but still, it should be a flag provided by default...
Hi,Most likely a false positive (not the first one).
My antivirus (AVG) indicates the presence of a trojan virus in one dll: Inject3.AVPH.
Any information about this ?
Regards, Patrick
SNIP
Issue #2 (Possible feature request). I mentioned this a long time ago, but it must have gotten lost in the shuffle or was not a priority, but I would like to request a re-linking option in the build menu. I have several dependent libraries and projects that work together in the same workspace, and when I update a dependent library, I have to fully rebuild a dependent project to get it to re-link to the library. If there was a menu shortcut for re-linking that would be awesome I think.
I'm using 10868 Nightly with Windows 10 currently.
Anyway, love the work you guys are doing! CB is awesome! Waaaay better than MSVS if you ask me. ;)
Issue #1. There are fairly common errors in the CodeCompletion ability of CB. I type the first few letters and get a matching completion in the popup box, but then when I press enter it fills in an incorrect entry. It is like it is using the wrong index of the entry.I've seen this several times, but I don't know how to reliably reproduce it.
On occasion I see the exact same thing in my ClangCC plugin. I always assumed it was some sort of synchronization problem between an update and code completion, but now I'm unsure this is the case...Issue #1. There are fairly common errors in the CodeCompletion ability of CB. I type the first few letters and get a matching completion in the popup box, but then when I press enter it fills in an incorrect entry. It is like it is using the wrong index of the entry.I've seen this several times, but I don't know how to reliably reproduce it.
Do you happen to know how to do it every time? If you know then I'll do my best to fix it.
Issue #2 (Possible feature request). I mentioned this a long time ago, but it must have gotten lost in the shuffle or was not a priority, but I would like to request a re-linking option in the build menu. I have several dependent libraries and projects that work together in the same workspace, and when I update a dependent library, I have to fully rebuild a dependent project to get it to re-link to the library. If there was a menu shortcut for re-linking that would be awesome I think.
Do you know about external dependencies in Code::Blocks because it fixes your item 2 for me.
Edit: I am NOT talking about project dependencies that are saved in the workspace file.
Tim S.
I can't reliably reproduce it except when it happens. About 90% of the time it works fine, but when it does fail, it fails the same way repeatedly. I'll try to come up with an example of it, but it may have to do with the large number of symbols in my library. If I can come up with a small example I'll post it.Quote from: UberNewbIssue #1. There are fairly common errors in the CodeCompletion ability of CB. I type the first few letters and get a matching completion in the popup box, but then when I press enter it fills in an incorrect entry. It is like it is using the wrong index of the entry.I've seen this several times, but I don't know how to reliably reproduce it.
Do you happen to know how to do it every time? If you know then I'll do my best to fix it.
I can't reliably reproduce it except when it happens. About 90% of the time it works fine, but when it does fail, it fails the same way repeatedly.What do you mean by repeatedly here? The problem doesn't go away until you restart C::B, right?
I've never tried restarting so I don't know if that affects it.Restarting fixes it for me. I'll be happy if you can confirm this. I'll be happier if you can find the exact steps needed to reproduce it.