473,378 Members | 1,436 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,378 software developers and data experts.

How to detect non-implementation

Hi,

I am trying to trace a weird bug in a program, and it looks like it
comes from something like a constructor I have declared in its class,
but I have not implemented. You might say "So why don't you just
implement it?"... It's just that doing this recreates the bug I have...

What surprises me is that the compiler does not complain. I create an
object whose constructor is declared but not implemented. How can this
be?

The question is: is there in gcc an option to tell him to complain
about this?

The compiler I use is QCC in QNX, which is a wrapper for gcc 2.95.2
19991024.

Thanks,

Olivier

Oct 10 '05 #1
2 1192
us*****@ogeorg.com wrote:
Hi,

I am trying to trace a weird bug in a program, and it looks like it
comes from something like a constructor I have declared in its class,
but I have not implemented. You might say "So why don't you just
implement it?"... It's just that doing this recreates the bug I have...

What surprises me is that the compiler does not complain. I create an
object whose constructor is declared but not implemented. How can this
be?

The question is: is there in gcc an option to tell him to complain
about this?

The compiler I use is QCC in QNX, which is a wrapper for gcc 2.95.2
19991024.

Thanks,

Olivier


The linker should complain, not the compiler. Please post a minimal but
complete example that demonstrates the problem.

Cheers! --M

Oct 10 '05 #2
us*****@ogeorg.com wrote:
Hi,

I am trying to trace a weird bug in a program, and it looks like it
comes from something like a constructor I have declared in its class,
but I have not implemented. You might say "So why don't you just
implement it?"... It's just that doing this recreates the bug I have...

What surprises me is that the compiler does not complain. I create an
object whose constructor is declared but not implemented. How can this
be?
No idea, you need to post the code.

The question is: is there in gcc an option to tell him to complain
about this?
At this point it seems more likely that the error is in your code,
rather than gcc. Post the code.

The compiler I use is QCC in QNX, which is a wrapper for gcc 2.95.2
19991024.

Thanks,

Olivier


john
Oct 10 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Nicholas Shanks | last post by:
I would like to use PHP (or any other server-side technique) to detect if JavaScript was turned on in the user's browser. Is there any known way to do this, and if not, why not! I realise I...
1
by: Scott Shaw | last post by:
Hi all, I was wondering if you could help out with this problem that I am having. What I am trying to do is detect keyboard input in a while loop without halting/pausing the loop until the key is...
13
by: vega | last post by:
How do I detect empty tags if I have the DOM document? For example: <br /> and <br></br> I tried org.w3c.dom.Node.getFirstChild(), it returns null for both <br /> and <br></br> I also tried...
23
by: Michel Bany | last post by:
I am trying to parse responseXML from an HTTP request. var doc = request.responseXML; var elements = doc.getElementsByTagName("*"); the last statement returns an empty collection when running from...
19
by: lihua | last post by:
Hi, Group! I got one question here: We all know that fclose() must be called after file operations to avoid unexpected errors.But there are really cases when you forget to do that!Just like...
3
by: Richard Thornley | last post by:
Hello, I was just been given a project and I have some questions on how to accomplish the first part of the task. If a user sends an email to a specific email address I need to detect...
2
by: FE | last post by:
Hi, I need to create a program that will connect a media stream (a server on the internet - Windows Media format) and then generate an error when : * The stream is ok but there is no sound...
3
by: Asterbing | last post by:
Since the "on fly addition..." thread has taken another direction, I'm opening a new one to be more explicit and recenter the subject. Well, the subject is to detect when a document is well...
11
by: mp- | last post by:
I want to be able to allow people to check their email from my PHP online application. Given only the users 1) email address, 2) username (if applicable) and 3) password - how can I auto detect...
1
by: sarabhjeet | last post by:
Hi friends, can anybody tell me how to detect ascii or non-ascii strings using python.
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.