Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling #2

Open
ZootAlors opened this issue Oct 4, 2014 · 3 comments
Open

Error compiling #2

ZootAlors opened this issue Oct 4, 2014 · 3 comments

Comments

@ZootAlors
Copy link

Repetier-091-ROSTOCKMAX-master

Excuse my complete ignorance but there is a compile error when i try and upload to rostock max v2

Build options changed, rebuilding all
ui.cpp: In member function 'bool::showEntry() const':
ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
f = HAL::readFlashByte((const prog_char_)&filter);
^
ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
ui.cpp:120:29: error: expected primary-expression before 'const'
f = HAL::readFlashByte((const prog_char_)&filter);
^
ui.cpp:120:29: error: expected ')' before 'const'
ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
f2 = HAL::readFlashByte((const prog_char_)&nofilter);
^
ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
ui.cpp:123:30: error: expected primary-expression before 'const'
f2 = HAL::readFlashByte((const prog_char_)&nofilter);
^
ui.cpp:123:30: error: expected ')' before 'const'
ui.cpp: In member function 'void UIDisplay::adjustMenuPos()':
ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
ui.cpp:1952:41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:1952:41: error: expected ')' before 'const'
ui.cpp: In member function 'void UIDisplay::nextPreviousAction(int8_t)':
ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
ui.cpp:2015:41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:2015:41: error: expected ')' before 'const'
ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
uint8_t entType = HAL::readFlashByte((const prog_char_)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command
^
ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
ui.cpp:2019:43: error: expected primary-expression before 'const'
uint8_t entType = HAL::readFlashByte((const prog_char_)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3 = direct action command
^
ui.cpp:2019:43: error: expected ')' before 'const'
Error compiling.

thanx

@seemecnc
Copy link
Collaborator

seemecnc commented Oct 6, 2014

Do you have the correct board type and COM port selected in Arduino?

Are you using a stable release 1.0.6?

JJ
SeeMeCNC

On Sat, Oct 4, 2014 at 7:37 AM, ZootAlors notifications@github.com wrote:

Repetier-091-ROSTOCKMAX-master

Excuse my complete ignorance but there is a compile error when i try and
upload to rostock max v2

Build options changed, rebuilding all
ui.cpp: In member function 'bool::showEntry() const':
ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
f = HAL::readFlashByte((const prog_char_)&filter);
^
ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
ui.cpp:120:29: error: expected primary-expression before 'const'
f = HAL::readFlashByte((const prog_char_)&filter);
^
ui.cpp:120:29: error: expected ')' before 'const'
ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
f2 = HAL::readFlashByte((const prog_char_)&nofilter);
^
ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
ui.cpp:123:30: error: expected primary-expression before 'const'
f2 = HAL::readFlashByte((const prog_char_)&nofilter);
^
ui.cpp:123:30: error: expected ')' before 'const'
ui.cpp: In member function 'void UIDisplay::adjustMenuPos()':
ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
ui.cpp:1952:41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:1952:41: error: expected ')' before 'const'
ui.cpp: In member function 'void UIDisplay::nextPreviousAction(int8_t)':
ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
ui.cpp:2015:41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:2015:41: error: expected ')' before 'const'
ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
uint8_t entType = HAL::readFlashByte((const
prog_char_)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3
= direct action command
^
ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
ui.cpp:2019:43: error: expected primary-expression before 'const'
uint8_t entType = HAL::readFlashByte((const
prog_char_)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3
= direct action command
^
ui.cpp:2019:43: error: expected ')' before 'const'
Error compiling.

thanx


Reply to this email directly or view it on GitHub
#2.

SeeMeCNC
65695 US Hwy 33
Goshen, Indiana
46526

@ZootAlors
Copy link
Author

Thanx for the reply.

I was using a beta 1.58

But when installing 1.0.6 all systems go

Thanks again

From: SeeMeCNC [mailto:notifications@github.com]
Sent: Monday, 6 October 2014 11:33 PM
To: seemecnc/Repetier-091-ROSTOCKMAX
Cc: Keith Skinner
Subject: Re: [Repetier-091-ROSTOCKMAX] Error compiling (#2)

Do you have the correct board type and COM port selected in Arduino?

Are you using a stable release 1.0.6?

JJ
SeeMeCNC

On Sat, Oct 4, 2014 at 7:37 AM, ZootAlors <notifications@github.com mailto:notifications@github.com > wrote:

Repetier-091-ROSTOCKMAX-master

Excuse my complete ignorance but there is a compile error when i try and
upload to rostock max v2

Build options changed, rebuilding all
ui.cpp: In member function 'bool::showEntry() const':
ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
f = HAL::readFlashByte((const prog_char_)&filter);
^
ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
ui.cpp:120:29: error: expected primary-expression before 'const'
f = HAL::readFlashByte((const prog_char_)&filter);
^
ui.cpp:120:29: error: expected ')' before 'const'
ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
f2 = HAL::readFlashByte((const prog_char_)&nofilter);
^
ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
ui.cpp:123:30: error: expected primary-expression before 'const'
f2 = HAL::readFlashByte((const prog_char_)&nofilter);
^
ui.cpp:123:30: error: expected ')' before 'const'
ui.cpp: In member function 'void UIDisplay::adjustMenuPos()':
ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
ui.cpp:1952:41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:1952:41: error: expected ')' before 'const'
ui.cpp: In member function 'void UIDisplay::nextPreviousAction(int8_t)':
ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
ui.cpp:2015:41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:2015:41: error: expected ')' before 'const'
ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
uint8_t entType = HAL::readFlashByte((const
prog_char_)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3
= direct action command
^
ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
ui.cpp:2019:43: error: expected primary-expression before 'const'
uint8_t entType = HAL::readFlashByte((const
prog_char_)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref, 3
= direct action command
^
ui.cpp:2019:43: error: expected ')' before 'const'
Error compiling.

thanx


Reply to this email directly or view it on GitHub
#2.

SeeMeCNC
65695 US Hwy 33
Goshen, Indiana
46526


Reply to this email directly or view it on GitHub #2 (comment) . https://github.com/notifications/beacon/9017636__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyODIyMzM4NiwiZGF0YSI6eyJpZCI6NDQ3NzQ5ODV9fQ==--8bdc63bce04ef4460412ebe1d11913a005dcccd4.gif

@seemecnc
Copy link
Collaborator

seemecnc commented Oct 6, 2014

Great to hear,

There is definitely something about those Beta releases that don't like the
RAMBO's. I guess that is why they are still Beta.

JJ

On Mon, Oct 6, 2014 at 10:35 AM, Keith Skinner notifications@github.com
wrote:

Thanx for the reply.

I was using a beta 1.58

But when installing 1.0.6 all systems go

Thanks again

From: SeeMeCNC [mailto:notifications@github.com]
Sent: Monday, 6 October 2014 11:33 PM
To: seemecnc/Repetier-091-ROSTOCKMAX
Cc: Keith Skinner
Subject: Re: [Repetier-091-ROSTOCKMAX] Error compiling (#2)

Do you have the correct board type and COM port selected in Arduino?

Are you using a stable release 1.0.6?

JJ
SeeMeCNC

On Sat, Oct 4, 2014 at 7:37 AM, ZootAlors <notifications@github.com
mailto:notifications@github.com > wrote:

Repetier-091-ROSTOCKMAX-master

Excuse my complete ignorance but there is a compile error when i try and
upload to rostock max v2

Build options changed, rebuilding all
ui.cpp: In member function 'bool::showEntry() const':
ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
f = HAL::readFlashByte((const prog_char_)&filter);
^
ui.cpp:120:35: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
ui.cpp:120:29: error: expected primary-expression before 'const'
f = HAL::readFlashByte((const prog_char_)&filter);
^
ui.cpp:120:29: error: expected ')' before 'const'
ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
f2 = HAL::readFlashByte((const prog_char_)&nofilter);
^
ui.cpp:123:36: error: ISO C++ forbids declaration of 'type name' with no
type [-fpermissive]
ui.cpp:123:30: error: expected primary-expression before 'const'
f2 = HAL::readFlashByte((const prog_char_)&nofilter);
^
ui.cpp:123:30: error: expected ')' before 'const'
ui.cpp: In member function 'void UIDisplay::adjustMenuPos()':
ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with
no
type [-fpermissive]
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:1952:47: error: ISO C++ forbids declaration of 'type name' with
no
type [-fpermissive]
ui.cpp:1952:41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:1952:41: error: expected ')' before 'const'
ui.cpp: In member function 'void UIDisplay::nextPreviousAction(int8_t)':
ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with
no
type [-fpermissive]
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:2015:47: error: ISO C++ forbids declaration of 'type name' with
no
type [-fpermissive]
ui.cpp:2015:41: error: expected primary-expression before 'const'
uint8_t mtype = HAL::readFlashByte((const prog_char_)&(men->menuType));
^
ui.cpp:2015:41: error: expected ')' before 'const'
ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with
no
type [-fpermissive]
uint8_t entType = HAL::readFlashByte((const
prog_char_)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref,
3
= direct action command
^
ui.cpp:2019:49: error: ISO C++ forbids declaration of 'type name' with
no
type [-fpermissive]
ui.cpp:2019:43: error: expected primary-expression before 'const'
uint8_t entType = HAL::readFlashByte((const
prog_char_)&(ent->menuType));// 0 = Info, 1 = Headline, 2 = submenu ref,
3
= direct action command
^
ui.cpp:2019:43: error: expected ')' before 'const'
Error compiling.

thanx


Reply to this email directly or view it on GitHub
#2.

SeeMeCNC
65695 US Hwy 33
Goshen, Indiana
46526


Reply to this email directly or view it on GitHub <
https://github.com/seemecnc/Repetier-091-ROSTOCKMAX/issues/2#issuecomment-58020928>
. <
https://github.com/notifications/beacon/9017636__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyODIyMzM4NiwiZGF0YSI6eyJpZCI6NDQ3NzQ5ODV9fQ==--8bdc63bce04ef4460412ebe1d11913a005dcccd4.gif>


Reply to this email directly or view it on GitHub
#2 (comment)
.

SeeMeCNC
65695 US Hwy 33
Goshen, Indiana
46526

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

No branches or pull requests

1 participant