C警告缺少函数调用哨兵 [英] C warning Missing sentinel in function call

查看:122
本文介绍了C警告缺少函数调用哨兵的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的警告。

Missing sentinel in function call

我如何可以将其删除。

How i can remove it.

我使用Linux和放大器; gcc编译器。

i am using linux & gcc compiler.

推荐答案

看起来你可能没有终止 NULL 一个数组声明。如果没有空,你可能有一些古怪的内存作为运行时不会知道数组结束,内存的下位开始。

It looks like you may not have terminated an array declaration with NULL. Without the null you may have some memory weirdness as the runtime won't know where the array ends and the next bit of memory starts.

这篇关于C警告缺少函数调用哨兵的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆