By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,159 Members | 888 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,159 IT Pros & Developers. It's quick & easy.

Does not name a type error

P: n/a
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

Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Bob wrote:
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.

Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.