login about faq

We are building a multi-platform project and have noticed that when we build on a linux box that the compiler generates a lot of warning messages from your libraries. Most of them are similar to the following:

…CkMultiByteBase.h: In copy constructor ‘CkMultiByteBase::CkMultiByteBase(const ckMultiByteBase&)’: …CkMultiByteBase.h:18: warning: base class ‘class CkObject’ should be explicitly initialized in the copy constructor

I did notice that there is a comment beside this line of code noting that the intent is to disallow assignment or copying of the object.

Is there some command-line flag or pre-processor directive that will get gcc to make this build cleanly or do we just need to ignore pages of warnings?

asked Feb 07 '13 at 05:41

Bruce617's gravatar image


edited Feb 07 '13 at 05:43

In the next Chilkat version, the empty implementation for the copy constructor will be moved out of the header to avoid this warning.


answered Feb 08 '13 at 08:07

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Feb 07 '13 at 05:41

Seen: 2,742 times

Last updated: Feb 08 '13 at 08:07

powered by OSQA