cc1: all warnings being treated as errors 在Makefile中找到 -Werror项,删除即可。删除后重新编译。 或设置环境变量 c工程设置 export CFLAGS = "-Wno-error" c++工程设置 export CXXFLAGS = "-W ...
分类:
其他好文 时间:
2017-12-08 00:04:11
阅读次数:
550
ORM映射关系 映射关系: validate 命令检查你的模型的语法和逻辑是否正确。 如果一切正常,你会看到 0 errors found 消息。如果出错,请检查你输入的模型代码。 错误输出会给出非常有用的错误信息来帮助你修正你的模型。 通过logging可以查看翻译成的sql语句: LOGGING ...
分类:
其他好文 时间:
2017-12-07 23:43:16
阅读次数:
267
以下列出了一些主要需要关注的参数。要看更全的,找Mysql官方文档,注意要对应版本。max_connect_errors最大错误连接数,达到时会阻止连接,建议大于5000max_connections并行的最大连接数,建议2000-5000max_used_connections服务启动后曾经达到的 ...
分类:
数据库 时间:
2017-12-07 16:03:04
阅读次数:
218
1 function creatcsv($filename,$array) 2 { 3 @ini_set('display_errors', 0); 4 header("Content-Disposition: attachment; filename=$filename.csv"); 5 head... ...
分类:
Web程序 时间:
2017-12-07 15:05:32
阅读次数:
209
1、更改错误页面时间不对的问题,解压源码包,进入此路径/usr/local/squid/share/errors/zh-cn(需要更改该目录下的所有文件find -type f |xargs sed -i 's#%T#%t#g'),编辑ERR_ACCESS_DENIED文件 [root@web01 ...
分类:
其他好文 时间:
2017-12-07 13:18:11
阅读次数:
228
问题描述:mvn clean install编译工程并运行单元测试出现如下错误 Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 6.343 sec <<< FAILURE!selectUserInfosTest(tech ...
分类:
系统相关 时间:
2017-12-06 21:54:52
阅读次数:
1015
终端输入命令:pip install requests 如果报错: Installing collected packages: idna, urllib3, certifi, chardet, requests Exception: Traceback (most recent call last ...
分类:
编程语言 时间:
2017-12-06 14:34:05
阅读次数:
318
spring配置文件错误 Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.3.xsd). For more information, right click on ...
分类:
编程语言 时间:
2017-12-05 20:38:46
阅读次数:
224
AngularJs脏数据检查冲突 Error: [$rootScope:inprog] http://errors.angularjs.org/1.5.8/$rootScope/inprog?p0=%24apply 修改为异步检查即可解决: ...
分类:
Web程序 时间:
2017-12-04 19:09:17
阅读次数:
1084
版权声明:若无来源注明,Techie亮博客文章均为原创。 转载请以链接形式标明本文标题和地址: 本文标题:QTcpSocket-Qt使用Tcp通讯实现服务端和客户端 本文地址:http://techieliang.com/2017/12/530/ 文章目录 1. 基本功能 1.1. pro文件配置 ...
分类:
其他好文 时间:
2017-12-04 19:00:48
阅读次数:
706