博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
GCC出现warning: integer constant is too large for 'long' type"
阅读量:4110 次
发布时间:2019-05-25

本文共 331 字,大约阅读时间需要 1 分钟。

The warning message can be safely ignored, as mb-gcc is not doing anything wrong; the 64-bit computing is in fact correct.
This warning occurs because gcc is strict in syntax and requires LL on the end of such constants. This warning message disappears if the integer is appended with LL.
long long int test = 0x0008888000000000LL;

转载地址:http://adlsi.baihongyu.com/

你可能感兴趣的文章
STM32的USART注意
查看>>
stm32的低功耗模式和RTC闹钟唤醒
查看>>
mos管开关电路整理(转)
查看>>
(转)一些常用接口总线整理(素材来自网络)
查看>>
数据传输中断和查询的区别
查看>>
stm32多功能双向5v兼容的IO口的理解
查看>>
电路中的各种地(转)
查看>>
stm32单定时器四通道输入捕获(转)
查看>>
NIOS II 常见问题总结FAQ(转)
查看>>
ucos ii 杂记
查看>>
FPGA 中的冒险现象
查看>>
STM32中GPIO的8种工作模式!(转)
查看>>
单片机的堆栈(转)
查看>>
还是结构体的一些问题(转)
查看>>
队列 C语言(转)
查看>>
在VMWare上安装ubuntu及VMWare Tools(转载)
查看>>
fsmc接口的使用注意
查看>>
goto语句(转)
查看>>
C语言中最常用标准库函数
查看>>
linux初级命令
查看>>