Skip to content

what am I doing wrong#11

Open
alexrims87 wants to merge 15 commits intolansing-makers-network:masterfrom
TurnkeyTyranny:master
Open

what am I doing wrong#11
alexrims87 wants to merge 15 commits intolansing-makers-network:masterfrom
TurnkeyTyranny:master

Conversation

@alexrims87
Copy link
Copy Markdown

after Verify/Compile button

i have error
`Arduino: 1.8.10 (Windows 7), Плата:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

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

             from sketch\ConfigurationStore.cpp:1:

sketch\fastio.h:1418:0: warning: "DIO73_PIN" redefined

#define DIO73_PIN PINJ4

sketch\fastio.h:1406:0: note: this is the location of the previous definition

#define DIO73_PIN PINJ3

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

             from sketch\ConfigurationStore.cpp:1:

sketch\pins.h:422:0: warning: "CONTROLLERFAN_PIN" redefined

 #define CONTROLLERFAN_PIN  10 //Pin used for the fan to cool controller

In file included from sketch\Configuration.h:623:0,

             from sketch\Marlin.h:22,

             from sketch\ConfigurationStore.cpp:1:

sketch\Configuration_adv.h:60:0: note: this is the location of the previous definition

#define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)

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

             from sketch\ConfigurationStore.cpp:1:

sketch\ConfigurationStore.cpp: In function 'void Config_ResetDefault()':

sketch\Configuration.h:398:57: warning: narrowing conversion of '2.5e+0' from 'double' to 'long int' inside { } [-Wnarrowing]

#define DEFAULT_MAX_ACCELERATION {2600,2600,2.5,2.5} // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for skeinforge 40+, for older versions raise them a lot.

                                                     ^

sketch\ConfigurationStore.cpp:259:17: note: in expansion of macro 'DEFAULT_MAX_ACCELERATION'

 long tmp3[]=DEFAULT_MAX_ACCELERATION;

             ^~~~~~~~~~~~~~~~~~~~~~~~

sketch\Configuration.h:398:57: warning: narrowing conversion of '2.5e+0' from 'double' to 'long int' inside { } [-Wnarrowing]

#define DEFAULT_MAX_ACCELERATION {2600,2600,2.5,2.5} // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for skeinforge 40+, for older versions raise them a lot.

                                                     ^

sketch\ConfigurationStore.cpp:259:17: note: in expansion of macro 'DEFAULT_MAX_ACCELERATION'

 long tmp3[]=DEFAULT_MAX_ACCELERATION;

             ^~~~~~~~~~~~~~~~~~~~~~~~

sketch\ConfigurationStore.cpp:262:38: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations]

     axis_steps_per_unit[i]=tmp1[i];

                            ~~~~~~^

sketch\ConfigurationStore.cpp:260:21: note: within this loop

 for (short i=0;i<4;i++)

                ~^~

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

             from sketch\thermistortables.h:4,

             from sketch\Configuration.h:624,

             from C:\2\Marlin\Marlin.ino:36:

sketch\fastio.h:1418:0: warning: "DIO73_PIN" redefined

#define DIO73_PIN PINJ4

sketch\fastio.h:1406:0: note: this is the location of the previous definition

#define DIO73_PIN PINJ3

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

             from sketch\thermistortables.h:4,

             from sketch\Configuration.h:624,

             from C:\2\Marlin\Marlin.ino:36:

sketch\pins.h:422:0: warning: "CONTROLLERFAN_PIN" redefined

 #define CONTROLLERFAN_PIN  10 //Pin used for the fan to cool controller

In file included from sketch\Configuration.h:623:0,

             from C:\2\Marlin\Marlin.ino:36:

sketch\Configuration_adv.h:60:0: note: this is the location of the previous definition

#define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)

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

             from sketch\MarlinSerial.cpp:23:

sketch\fastio.h:1418:0: warning: "DIO73_PIN" redefined

#define DIO73_PIN PINJ4

sketch\fastio.h:1406:0: note: this is the location of the previous definition

#define DIO73_PIN PINJ3

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

             from sketch\MarlinSerial.cpp:23:

sketch\pins.h:422:0: warning: "CONTROLLERFAN_PIN" redefined

 #define CONTROLLERFAN_PIN  10 //Pin used for the fan to cool controller

In file included from sketch\Configuration.h:623:0,

             from sketch\Marlin.h:22,

             from sketch\MarlinSerial.cpp:23:

sketch\Configuration_adv.h:60:0: note: this is the location of the previous definition

#define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)

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

             from sketch\Marlin_main.cpp:30:

sketch\fastio.h:1418:0: warning: "DIO73_PIN" redefined

#define DIO73_PIN PINJ4

sketch\fastio.h:1406:0: note: this is the location of the previous definition

#define DIO73_PIN PINJ3

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

             from sketch\Marlin_main.cpp:30:

sketch\pins.h:422:0: warning: "CONTROLLERFAN_PIN" redefined

 #define CONTROLLERFAN_PIN  10 //Pin used for the fan to cool controller

In file included from sketch\Configuration.h:623:0,

             from sketch\Marlin.h:22,

             from sketch\Marlin_main.cpp:30:

sketch\Configuration_adv.h:60:0: note: this is the location of the previous definition

#define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)

sketch\Marlin_main.cpp:1769:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]

     LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");

                                ^

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

             from sketch\Sd2Card.cpp:20:

sketch\fastio.h:1418:0: warning: "DIO73_PIN" redefined

#define DIO73_PIN PINJ4

sketch\fastio.h:1406:0: note: this is the location of the previous definition

#define DIO73_PIN PINJ3

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

             from sketch\Sd2Card.cpp:20:

sketch\pins.h:422:0: warning: "CONTROLLERFAN_PIN" redefined

 #define CONTROLLERFAN_PIN  10 //Pin used for the fan to cool controller

In file included from sketch\Configuration.h:623:0,

             from sketch\Marlin.h:22,

             from sketch\Sd2Card.cpp:20:

sketch\Configuration_adv.h:60:0: note: this is the location of the previous definition

#define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)

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

             from sketch\cardreader.h:8,

             from sketch\Marlin_main.cpp:37:

SdBaseFile.h:46:10: error: expected unqualified-id before ')' token

fpos_t() : position(0), cluster(0) {}

      ^

SdBaseFile.h:47:1: error: expected declaration before '}' token

};

^

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

             from sketch\SdBaseFile.cpp:21:

sketch\fastio.h:1418:0: warning: "DIO73_PIN" redefined

#define DIO73_PIN PINJ4

sketch\fastio.h:1406:0: note: this is the location of the previous definition

#define DIO73_PIN PINJ3

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

             from sketch\SdBaseFile.cpp:21:

sketch\pins.h:422:0: warning: "CONTROLLERFAN_PIN" redefined

 #define CONTROLLERFAN_PIN  10 //Pin used for the fan to cool controller

In file included from sketch\Configuration.h:623:0,

             from sketch\Marlin.h:22,

             from sketch\SdBaseFile.cpp:21:

sketch\Configuration_adv.h:60:0: note: this is the location of the previous definition

#define CONTROLLERFAN_PIN -1 //Pin used for the fan to cool controller (-1 to disable)

In file included from sketch\SdBaseFile.cpp:24:0:

SdBaseFile.h:46:10: error: expected unqualified-id before ')' token

fpos_t() : position(0), cluster(0) {}

      ^

SdBaseFile.h:47:1: error: expected declaration before '}' token

};

^

Несколько библиотек найдено для "LCDMenuLib2.h"
Используется: C:\Users\ZIM\Documents\Arduino\libraries\LCDMenuLib2
Несколько библиотек найдено для "U8glib.h"
Используется: C:\Users\ZIM\Documents\Arduino\libraries\U8glib
exit status 1
expected unqualified-id before ')' token

Этот отчёт будет иметь больше информации с
включенной опцией Файл -> Настройки ->
"Показать подробный вывод во время компиляции"
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants