完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
8位设备的8位编译器不支持64位类型。V2.0编译器提供的标准库文件在某些地方对XC8有一定的保护,如果定义了(xx88x),但似乎有一些漏洞需要插入。有没有可能在编译器即将到来的更新中得到修复?谢谢,格伦
以上来自于百度翻译 以下为原文 The 8-bit compiler for 8-bit devices does not support a 64-bit type. The standard library files provided with the v2.0 compiler does have some protection for xc8 in some places, #if defined(__XC8__) but it appears there are some holes that need to be plugged. Any chance this might get fixed in a forthcoming update of the compiler? Thanks, Glenn |
|
相关推荐
7个回答
|
|
|
|
|
|
|
|
|
64位长长类型目前仅用于PIC18设备。
以上来自于百度翻译 以下为原文 The 64-bit long long types are currently for the PIC18 devices only. |
|
|
|
|
|
我知道。我正在编译Bootloader应用程序,其中包括Stdio.h,其中包括StdLIb.h,其中包括AbType。h。我不使用需要长时间的代码。这些文件中没有一个代码,如果没有一个γif!定义(αxx88i)保护带。
以上来自于百度翻译 以下为原文 I know. I was compiling the bootloader application which includes stdio.h which includes stdlib.h which includes alltypes.h. I am not using code that needs a long long. There is code in these files that is not surrounded with a #if !defined(__XC8__) guard-band. |
|
|
|
|
|
目前正在为增强的中档设备添加,但“更小”的设备将不支持这种类型。
以上来自于百度翻译 以下为原文 It is currently being added for enhanced mid-range devices, but 'smaller' devices will not support this type. Jeff. |
|
|
|
|
|
HePosiLealMealPosik= PIC12FXXXX/PIC16FXXXX/PIC16FYYYYYONE
以上来自于百度翻译 以下为原文 Hi Enhanced mid-range = PIC12Fxxxx / PIC16Fxxxx / PIC16Fyyyyy Regards |
|
|
|
|
|
杰夫,让我更清楚这一点,因为我相信我被误解了。我意识到8位PIC16系列不支持64位类型。我希望看到的是附加的保护带放置在XC8不支持的类型周围。在这些文件中已经有很多这样的文件,但是当你为PIC16编译时,有许多项不是保护带保护的。编译器组将知道我在说什么。搜索任何类型的“长隆”、“It64”等提供的.h文件,并放置一个if if!在它周围定义了(xx88x),使之不被编译。格伦
以上来自于百度翻译 以下为原文 Jeff, Let me be more clear on this as I believe I have been misunderstood. I realize that the 8-bit PIC16 series does not support a 64-bit type. What I would like to see fixed is additional guard-bands placed around types that the XC8 does not support. There are many of these already in the files, but there are a number of items that are not guard-band protected when you compile for the PIC16. The compiler group will know what I am talking about. Search the provided .h files for any type "long long", Int64, etc. and put a #if !defined(__XC8__) around it to keep it from being compiled. Glenn |
|
|
|
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473 浏览 0 评论
5793 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1121浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1095浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
872浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 19:05 , Processed in 0.790430 second(s), Total 88, Slave 70 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
7893