|
-
January 29th, 2011, 08:24 AM
#1
What does synthesized method first required here mean?
Hi Everyone.
I'm getting a few messages like this from the gcc (version 4.1.2) compiler.
[cc] /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_construct.h:81: note: synthesized method ‘mynamespace::MyClass::MyClass(const mynamespace::MyClass&)’ first required here
I'm not sure what changed last or when these started as I have not been working in this code for a while and others have.
From researching I think this is the compiler telling me when it is using a compiler generated function (copy constructor or assignment operator) but what is the reason for this "note"?
It seems like there might some concern or the compile would not be telling me about it.
Thanks for the help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|