473,396 Members | 1,875 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Does not name a type error

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
1 8454
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: ian justice | last post by:
Before i post actual code, as i need a speedyish reply. Can i first ask if anyone knows off the top of their head, if there is a likely obvious cause to the following problem. For the moment i've...
1
by: Dmitry Martynov | last post by:
Hi I have a question whether XmlValidatingReader doesn't check keyref constrain (the same with key constraint) or I do smth wrong. I have the following schema <?xml version="1.0"...
13
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
5
by: rogsonl | last post by:
My computer was moved last week, and the company changed the network groups we work on. As a result, one of the main benefits from Whidbey (database connectivity) no longer works. Situation: 1....
7
by: Nalaka | last post by:
Hi, I created a sinple web service that returns a dataSet. Then I created a client program that uses this web service (that returns the Dataset). My question is, how did the client figure...
2
by: Doru Roman | last post by:
Hi, I use C# to validate an XML document. It issues error messages and I do not understand why. Here is the XML document: <bookstore xmlns="http://tempuri.org/books.xsd"> <book...
1
by: =?ISO-8859-1?Q?Lasse_V=E5gs=E6ther_Karlsen?= | last post by:
I get the above error in some of the ASP.NET web applications on a server, and I need some help figuring out how to deal with it. This is a rather long post, and I hope I have enough details that...
1
by: nish85 | last post by:
Hi, i have uploaded my sit to web server goddady.com i have a button to download dyanmically generated excel file.This button is ajax enabled.....When i am click on this button it will popup a...
3
by: qianz99 | last post by:
Hi I am not sure what this code does. I have the following questions 1. where is the case? 2. #define TLV_INTEGER(name, octets) p->name = -1; Is it define a function TLV_INTEGER(name, octets) ...
2
chunk1978
by: chunk1978 | last post by:
i wrote a custom PHP script last year and everything worked perfectly... recently my webserver upgraded to PHP 5 and now my script doesn't work properly. what the script does is: users fill out...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.