compiler-warnings专题提供compiler-warnings的最新资讯内容,帮你更好的了解compiler-warnings。
我正在处理一个旧的 C 代码库,其中包括旧 (K&R) 样式和新 (ANSI) 样式定义的混合。计划是逐步删除所有
我试图在 gcc 上激活选项 <code>-Wmismatched-tags</code>(检测不一致的类/结构声明,这可能在使用前向声明时
编写一个名为 boxVolume 的类,以长度、宽度和高度为数据成员,以 readData()、dispData() 和 computeVol() 作为函
当我运行此代码时,出现警告。 <pre><code>svm.fit(x_train, y_train) </code></pre> !!!警告如下!!!</p
我使用 Cloud Storage 通过获取文件的下载 url 来上传任何文件。根据 <a href="https://firebase.google.com/docs/storage/
<pre><code>A. printf(&#34;Values: X=%s Y=%s\n&#34;, x,y,z); B. printf(&#34;Values: x=%s, Y=%s\n&#34;, x); </code></pre> 以上两个 prin
以下错误代码: <pre><code>#include &lt;stdio.h&gt; #include &lt;string.h&gt; void isEven (int *isFlag, int num) { if (num
给定以下代码 <pre><code>#include &lt;stdio.h&gt; typedef enum{ ISP_INPUT_NONE, ISP_INPUT_DOLBY } UserStream_t; int so
我使用害虫解析器来解析我的输入,但它总是给我两个“缺少文档”的警告: <pre class="lang-rust prettypr
安装 Visual Studio 后会尝试任何基本正确的 hello-world 项目,但它不会编译。 错误消息说明如上。 我在网
我正在将大型项目从 net framework 移植到 net5,这带来了大量警告。我想让所有以 <code>SYSLIB</code> 开头的警
我正在尝试使用 c-lib 函数 qsort() 对 long 数组进行排序。我是这样做的: <pre><code>import tkinter as tk from
我有以下类,其中有一个明显未初始化的只读字段。这编译得很好,没有错误或警告: <pre><code>public
我正在遵循 Microsoft 关于如何解决此警告的指南,但它似乎不起作用。 我添加了所有检查,但是,
我有一个名为 <code>Outcome</code> 的简单结果类,它是密封的,由三个子类组成:<code>Waiting</code>、<code>Succe
<a href="https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shellexecutew" rel="nofollow noreferrer">docs for <code>
我正在使用 <code>snprintf()</code> 将字符串写入缓冲区。 <pre><code>#define MAXLEN 256 char line[MAXLEN]; char buf[MAXL
大家晚上好,我需要一些帮助。 我无法解决警告: <块引用> Keyframes.js:20 id为“sc-iseJRi”的组件style
如何解决for循环内一行出现的C6386警告? <code>reverseString[i] = str[size - i - 1];</code> 此行出现警告。
尝试在Solaris intel i386 上使用developerstudio12.6 CC 编译C++ 程序。 编译器不显示错误或警告但失败。 可