compiler-warnings

    2热度

    1回答

    任何人都知道这是什么意思?小心点亮一些光线? 在编译VS2005中的MFC项目时出现此警告。 ..\..\..\Shared\res\zenOn_common.manifest : manifest authoring warning 81010002: Unrecognized Element "requestedPrivileges" in namespace "urn:schemas-mic

    3热度

    3回答

    编写引用我自己编写的一些自定义库的例程WinForms应用程序。我正在构建一个依赖另一个库的特定库,当我这样做时,我收到以下警告消息: “无法加载文件或程序集'RHLib'版本1.0.0.0,Culture = neutral,PublicKeyToken = null '或其依赖之一系统找不到指定的文件“ 应用程序函数,没有错误消息,但我是其中一个喜欢完全干净的编译 - 没有错误,没有警告。我无

    1热度

    2回答

    我有一个我在本年早些时候写过的3.0版本,实现了UIImagePickerControllerDelegate协议。其中,我实现了imagePickerController:didFinishPickingImage:editingInfo:方法,该方法在3.0 SDK中已弃用。 事情是,我注意到这只是巡航通过文档,而不是从编译器警告。我看到其他的弃用警告(像TableViewCell.text这

    1热度

    1回答

    目前我试图编译OCMock用GCC4.2(原:4.0)传递参数,并开始得到以下警告: 警告:传递的参数 1' partialMockForObject:”从不同 目标C型 调用方法是: - (void)forwardInvocationForRealObject:(NSInvocation *)anInvocation { // in here "self" is a referenc

    1热度

    3回答

    我怎样才能铸造为用户定义类型相同HANDELING内置的,如: float a = 5.4; std::string s = a;//error, no conversion avaible int x = a;//warning, possible data loss int y = (int)a;//fine int z = static_cast<int>a;//fine floa

    3热度

    5回答

    在MFC打开的情况下编译VS2008中的以下代码时出现警告。升压版本1.39 include "boost/flyweight.hpp" include "boost/flyweight/key_value.hpp" class Foo { public: Foo(const CString& item) : mfoo(item) {} const CStri

    46热度

    8回答

    当我编译,javac的输出: Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.` 我希望禁止这种警告。尝试-Xlint:没有一个似乎没有帮助。

    3热度

    3回答

    Custom Compiler Warnings和 C#: Create custom warning in Visual Studio if certain method is used in source code 由于处理代码,是作者的控制下,并没有帮助。 我们正在利用我们的软件UI控件(的DevExpress)的第三方套件和我要生成一个警告,当有人使用的MessageBox.Show("b

    1热度

    2回答

    我试图使用使用深度3的嵌套矢量的类成员: 矢量<矢量<矢量>> classVariable_; 不过,我再拿到编译器警告在我的代码时,我尝试做的classVariable_.clear()这样简单的事情: /usr/lib/gcc/i686-pc-cygwin/3.4.4/include /c++/bits/stl_vector.h:在成员函数`std :: vector < _Tp,_Alloc

    8热度

    4回答

    下面是说明该问题的最小代码例如: #include <iostream> class Thing { // Non-copyable Thing(const Thing&); Thing& operator=(const Thing&); int n_; public: Thing(int n) : n_(n) {} int