« first day (105 days earlier)      last day (2754 days later) » 

1:17 PM
Hi Guys. I'm using 3rd party lib in my code, and when I add some header file from it, on compilation I get several errors "* dose not name a type..." which occures because some necessary headers missed in those header file. Should this kind of things be reported as issues or it's ok in C++ world and library client's should deal with such kind of things?
 
nwp
1:53 PM
@silent_coder What is the exact error message?
Does it complain about a missing header file or just that the type used is not defined?
 
type not defined. But when I add missed headers in my file it's resolve the problem
Exact error "CustomClass" dose not name a type in "customNamespace"
 
nwp
Well, you can write a bug report and depending on the person they will either fix it because it annoys people or not fix it because people can work around it.
It is legitimate to only forward-declare some types, in that case you have to include more headers to actually use these types, but just including a header should compile.
 
2:18 PM
@nwp thanks
 

« first day (105 days earlier)      last day (2754 days later) »