本文介绍了这是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

struct stat * stats IF_LINT(= 0);


我不知道为什么IF_LINT(= 0)是否需要?


源代码是Linux上的df程序的df.c coreutils-5.2.1 \ coreutils-5.2.1 \ src


谢谢!

struct stat *stats IF_LINT (= 0);

I don''t know why "IF_LINT (= 0)" is needed ?

Source is df.c of df program on Linux coreutils-5.2.1\coreutils-5.2.1\src

Thanks!

推荐答案



语法错误,需要诊断消息的约束违规。

Syntax error, constraint violation that requires a diagnostic message.



然后问一些更相关的新闻组。 comp.lang.c讨论ANSI / ISO

C.

ask some more relevant newsgroup then. comp.lang.c discusses ANSI/ISO
C.




IF_LINT似乎是一个类似宏的函数。


您的问题的答案是:什么是IF_LINT?


我的第一个猜测是,在某种情况下,

或许如果使用lint,

该对象在声明后初始化。


-

pete

IF_LINT appears to be a function like macro.

The answer to your question is: "What is IF_LINT?"

My first guess is that under a certain circumstance,
perhaps if lint is being used,
the object is initialized upon declaration.

--
pete




语法错误,需要诊断消息的约束违规。


Syntax error, constraint violation that requires a diagnostic message.



即使前面有一个类似函数的宏的合适定义

命名为IF_LINT()?这是一个非常普遍的惯例,

all-caps中的标识符通常是宏,所以你至少应该考虑


Even if preceeded by a suitable definition of a function-like macro
named IF_LINT()? It is a very common convention that identifiers in
all-caps are generally macros, so that''s something you should at least
have thought about.


这篇关于这是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 03:18