[linux]using temporary as lvalue [-fpermissive]
来源:互联网 发布:sqlserver清空数据库 编辑:程序博客网 时间:2024/06/10 15:56
安装shogun0.10.0
congifure –prefix=$SOFT/shogun
make(error!!!!)
make install
出错的代码是在: SG_UNREF(features[i].attr_obj);
可是这东西根本就没看到有lvalue(左值)啊..
http://stackoverflow.com/questions/16346068/how-to-test-lvalue-or-rvalue-in-this-case
func().k = 0; // compile ok under g++-4.4 and g++-4.6func().i = 1; // compile ok with g++-4.4, but g++-4.4 gives an error: //"using temporary as lvalue [-fpermissive]"
tsubame系统里的gcc是4.3.4的,我安装的是4.7.4的.
于是把.bashrc里有关的PATH,LIBARARY给注释掉.
which gccgcc -v
然后接着装shogun.
装成功了.
感动.
0 0
- [linux]using temporary as lvalue [-fpermissive]
- linux c之gcc编译出现error:lvalue required as unary '&' operand解决办法
- opencv-jni -调试出错taking address of temporary [-fpermissive]
- error: lvalue required as unary ‘&’ operand
- using_where, Using temporary ,using_filesort 分享
- using_where, Using temporary ,using_filesort 分享
- MySQL explain 的Using temporary; Using filesort
- [Error] lvalue required as left operand of assignment
- Lesson 14 Usage as temporary objects
- Using your Slackware Linux box as wireless AP
- Linux using Beyon compare4 as Git diff tool
- Creating and Using Temporary Tables in Oracle
- MySQL调优 —— Using temporary
- Creating and Using a Temporary File
- Using proxy as Event
- Using as(GNU Binutils)
- Using Screenshot as Texture
- EXPLAIN sql优化方法2 Using temporary ; Using filesort
- 轮播器
- JavaSE入门学习44:文件传输基础之I/O流(三)
- 从头认识多线程-4.4 ThreadLocal的实现原理
- 小玩文件(2)
- getopt函数
- [linux]using temporary as lvalue [-fpermissive]
- 酷炫的Activity切换动画,打造更好的用户体验
- 由GroupBy-Having想到的
- mongodb安装与配置
- JavaSE入门学习43:文件传输基础之I/O流(二)
- Git超简明教程
- Jenkins+linux安装配置注意事项
- 怎么用Beyond Compare设置比较文件夹对齐方式
- vsprintf函数