ChinaUnix.net
相关文章推荐:

archarmplats3c24xxs3c244xc121 error implicit declaration of function s3c2410baseclkadd

小弟写的一段代码: #include ..... #define PHONE_SET_MFPP  _IOW ('q', 0xc0, int) ... ioctl(fd, PHONE_SET_MFPP, value); ... 编译时总是报Warning: implicit declaration of function ‘PHONE_SET_MFPP’。 怎么才能不出现此warning?多谢!

by yypzgmmm - C/C++ - 2008-12-17 14:40:58 阅读(2113) 回复(3)

相关讨论

我的程序如下写: char buf[4096]; memset(buf, 0, 4096); 编译 gcc -Wall -o log log.c有警告如下: log.c:18: warning: implicit declaration of function `memset' 怎么办?请指点。另外,我是在UltraEdit上写程序然后通过ftp保存到linux机器上,每次编译都有如下警告: log.c:53:3: warning: no newline at end of file 在linux下用vi打开,不作任何改动直接保存,以上错误消失,怎么解决这种问题?

by swear77 - C/C++ - 2003-10-29 21:01:49 阅读(16086) 回复(5)

编译程序中,老会出现这样的语句, warning: implicit declaration of function `Getfile' 谁能告诉我,这样的错误怎么改啊?谢谢~~

by love_xn - C/C++ - 2006-02-09 11:46:26 阅读(2514) 回复(3)

各位大侠,今天有个问题求教: 现有两套INFORMIX数据库系统,每套上都有一张表tmp_basetab,(表结构见附件一)因为业务需要的原因,这个表的数据都是每天更新的,而且要使用存储过程sp_prestate(存储过程见附加二)进行细化更新。以前一直好好的,直到前几天,其中一套突然在运行存储过程sp_prestate时只能更新前一条(即只能把accounstate=3更新为state=5),其他更新都报失败,失败日志如下: trace on update tmp_basetab set...

by a2z2008 - Informix - 2007-01-09 13:02:49 阅读(4007) 回复(17)
by WIIW - 内核/嵌入技术 - 2005-09-10 08:41:27 阅读(1114) 回复(2)

今天工作时遇到一个这样的错误,当我执行 [code]CREATE TABLE `currency` ( `id` tinyint(3) unsigned NOT NULL auto_increment, `name` varchar(4) NOT NULL default '', PRIMARY KEY (`id`), UNIQUE KEY `name_index` (`name`) ) TYPE=InnoDB;[/code] mysql提示我error 1005: Can't create table './test/currency.frm' (errno: 121) 我在网上查到了这个资料,但是仍然无法解决 http://bugs.mysql.com/bug.php?id=5574 ...

by musicbell - MySQL - 2008-07-05 00:33:07 阅读(16822) 回复(4)

在s3c2410fb.c中,在平台相关的设备探测函数中有这么一段code,请高手帮忙看看。 static int __init s3c2410fb_probe(struct platform_device *pdev) { …… static struct s3c2410fb_mach_info *mach_info; …… mach_info = pdev->dev.platform_data; if (mach_info == NULL) { dev_err(&pdev->dev,"no platform data for lcd, cannot attach\n"); return -EINVAL; } mregs ...

by grep_one - 内核/嵌入技术 - 2006-04-12 09:40:30 阅读(856) 回复(0)
by heavensword - 内核/嵌入技术 - 2005-10-08 14:12:23 阅读(917) 回复(2)

[error] /home/mysql-5.1.30/libexec/mysqld: Can't open file: '.workdb/xxxxx_data.frm' (errno: 24) 求解!! 数据库版本:Distrib 5.1.30 操作系统版本:Red Hat Enterprise Linux Server release 5 (Tikanga) 2.6.18-8.el5内核 程序定期在workdb.xxxxx_data表相应分区中insert数据(该表为MyISAM表,目前有390+个分区)。 近来数据库错误日志中总是有如下错误记录:而且非常频繁。如下: 090519 4:40:55 [error] /home/mys...

by stormcc - MySQL - 2009-05-22 01:00:32 阅读(4101) 回复(9)

在Windows下面好好的代码,现在拿到linux下面,一编译,错误一大堆 error: `5' cannot be used as a function 出现这个问题的地方的代码是: LOG_NOTICE("process msg(%i) failed!\n", msg_id); LOG_NOTICE是一个宏,后来我把它改成什么也不做: #define LOG_NOTICE(FMT, ...) 但是一编译就出现这样的错误 这有问题吗?如果宏定义为空,则不生成代码吧,为什么还会出现这样的错误呢 谢谢!

by GodPig - C/C++ - 2008-12-30 15:31:42 阅读(8962) 回复(16)

Soobic安装过程中遇到的问题 如果您在使用的时候遇到这个问题, Fatal error: Call to a member function on a non-object in d:greenampwwwincludesapplication_top.php on line 295 请作如下操作: 将服务器的register_global设为on,然后重启服务器。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/2389/showart_30204.html

by wenzk - 网络技术文档中心 - 2005-06-10 09:58:57 阅读(1010) 回复(0)