极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 16768|回复: 3

求助,请问个报错代码是什么意思

[复制链接]
发表于 2016-7-31 19:14:26 | 显示全部楼层 |阅读模式
Arduino:1.6.10 (Windows 7), 开发板:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\SdFile.h:27:0,

                 from sketch\cardreader.h:8,

                 from sketch\Marlin_main.cpp:44:

SdBaseFile.h:38: error: using typedef-name 'fpos_t' after 'struct'

struct fpos_t {

        ^

In file included from sketch\Marlin.h:10:0,

                 from sketch\Marlin_main.cpp:30:

d:\arduino\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here

__extension__ typedef long long fpos_t;

                                 ^

exit status 1
using typedef-name 'fpos_t' after 'struct'

在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
回复

使用道具 举报

 楼主| 发表于 2016-7-31 19:32:48 | 显示全部楼层
有人帮助下吗?
回复 支持 反对

使用道具 举报

发表于 2016-8-6 13:22:09 | 显示全部楼层
我也碰到这个问题
只要用replace All 把所有fpos_t 换成 f_pos_t 就可以了
注意Replace All 时要把"Search all Sketch Tabs" 勾上
回复 支持 反对

使用道具 举报

 楼主| 发表于 2016-8-6 19:16:37 | 显示全部楼层
lkc8210 发表于 2016-8-6 13:22
我也碰到这个问题
只要用replace All 把所有fpos_t 换成 f_pos_t 就可以了
注意Replace All  ...

谢谢了,我去试试看
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|联系我们|极客工坊

GMT+8, 2026-6-14 20:09 , Processed in 0.037111 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表