Does not name a type error

B

Bob

Hi Guys,
I am having this error when I try and compile my project an idea why, I
have included my compile log if that is of any help.

Compiler: Default compiler
Building Makefile: "E:\DevC\17_03\Makefile.win"
Executing make...
make.exe -f "E:\DevC\17_03\Makefile.win" all
g++.exe -c FileAccess.cpp -o FileAccess.o
-I"E:/DevC/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"
-I"E:/DevC/Dev-Cpp/include/c++/3.4.2/backward"
-I"E:/DevC/Dev-Cpp/include/c++/3.4.2/mingw32"
-I"E:/DevC/Dev-Cpp/include/c++/3.4.2" -I"E:/DevC/Dev-Cpp/include"

In file included from User.h:12,
from Employee.h:5,
from FileAccess.h:12,
from FileAccess.cpp:1:
FileAccessMgr.h:17: error: `FileAccess' does not name a type

make.exe: *** [FileAccess.o] Error 1

Execution terminated


Thanks
Bob
 
R

Rolf Magnus

Bob said:
Hi Guys,
I am having this error when I try and compile my project an idea why, I
have included my compile log if that is of any help.

How could we tell you which error your source code has, without seeing any
of that source code?
Compiler: Default compiler
Building Makefile: "E:\DevC\17_03\Makefile.win"
Executing make...
make.exe -f "E:\DevC\17_03\Makefile.win" all
g++.exe -c FileAccess.cpp -o FileAccess.o
-I"E:/DevC/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"
-I"E:/DevC/Dev-Cpp/include/c++/3.4.2/backward"
-I"E:/DevC/Dev-Cpp/include/c++/3.4.2/mingw32"
-I"E:/DevC/Dev-Cpp/include/c++/3.4.2" -I"E:/DevC/Dev-Cpp/include"

In file included from User.h:12,
from Employee.h:5,
from FileAccess.h:12,
from FileAccess.cpp:1:
FileAccessMgr.h:17: error: `FileAccess' does not name a type

You're using something called FileAccess as a type, but it seems not to be
declared as one.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Compiler errors 11
Dev C++ compile problem 2
linker error w/ templates 5
polymorphism type error, I think... 6
Dev-c++: Linking a library 1
compiler not making executable 1
template error 10
a complie error ? 1

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,072
Latest member
trafficcone

Latest Threads

Top