1

Topic: enum does not name of type

2

Re: enum does not name of type

AlekseySQL, exposed in project properties the standard "a C ++ 11"?

3

Re: enum does not name of type

4

Re: enum does not name of type

rdb_dev wrote:

AlekseySQL, exposed in project properties the standard "a C ++ 11"?

Yes.

OoCc wrote:

here so on  also writes? Probably you compile in . smile))

I write in Qt Creator. Microsoft - the refined harm.

5

Re: enum does not name of type

AlekseySQL wrote:

in the second file of listing it is not visible and I receive an error

Most likely a hardly noticeable misprint.

6

Re: enum does not name of type

Dimitry Sibiryakov wrote:

Most likely a hardly noticeable misprint.

Already  on the keypad all titles on the new smile

7

Re: enum does not name of type

AlekseySQL wrote:

it is passed...
Already  on the keypad all titles on new smile

If-std=s ++ 11 it is installed that add-Wextra-pedantic and read warnings.

8

Re: enum does not name of type

OoCc wrote:

if-std=s ++ 11 it is installed that add-Wextra-pedantic and read warnings.

Where in Qt Creator to register these flags?

9

Re: enum does not name of type

AlekseySQL wrote:

Already  on the keypad all titles on the new smile

The misprint is not obliged to be in a title and in an error place. Missing
The closing brace in a title file, for example, is capable to create amusing glitches.

10

Re: enum does not name of type

AlekseySQL wrote:

it is passed...
Where in Qt Creator to register these flags?

I so think in.pro a file

QMAKE_CXXFLAGS + =-Wextra-pedantic-std=c ++ 11

11

Re: enum does not name of type

g ++ - version???

12

Re: enum does not name of type

The decision is found!
It appeared at me was  switching-on.h files: there is other file GlobalData.h, which includ-silt EventFilter.h, and EventFilter.h in turn includ - silt GlobalData.h...
In both files type constructions were used

#ifndef EVENTFILTER_H
#define EVENTFILTER_H
#endif//EVENTFILTER_H

But it did not help and there was such strange error.
All thanks, for  smile