471,571 Members | 1,076 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Linkage and calling convention

1. Are linkage convention and calling convention referring to the same
thing?

2. Does calling convention differ between languages C and C++?

3. How does calling convention differ between static and non-static class
member function?

4. Could it be possible to specify different calling convention for each
"global" or each class member function? Even in a single file scope?

5. If the answer to 4 is yes, do we need to do anything in calling functions
that call those functions of different calling conventions in 4?

Thanks!

Jul 22 '05 #1
1 2144
Asapi writes:
1. Are linkage convention and calling convention referring to the same
thing?

2. Does calling convention differ between languages C and C++?

3. How does calling convention differ between static and non-static class
member function?

4. Could it be possible to specify different calling convention for each
"global" or each class member function? Even in a single file scope?

5. If the answer to 4 is yes, do we need to do anything in calling functions that call those functions of different calling conventions in 4?


You have a very annoying instructor. He dwells on fussy word distinctions
while you are probably learning very little about programming. Those might
be interesting for a course on writing compilers or designing computer
languages; but I have the distinct feeling that you are not enrolled in such
a course. Is there any point other than to test your memory?

My guess is that if you talk to even a good programmer long enough he will
eventually misuse declaration or definition

Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Nimmi Srivastav | last post: by
47 posts views Thread by Richard Hayden | last post: by
20 posts views Thread by Grumble | last post: by
10 posts views Thread by Mark A. Gibbs | last post: by
6 posts views Thread by Neelesh Bodas | last post: by
10 posts views Thread by sulekhasweety | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by Vinnie | last post: by
reply views Thread by lumer26 | last post: by

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.