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

non-virtual thunk

Can you explain what a non-virtual thunk is? I have been getting
this error when trying to link libraries that I have built with
optimization. Specifically, when I change -Os to -O3 when building
the libraries.

--
Regards
Mayank Jain
9818390836
www.mayankjain.110mb.com

Jul 3 '07 #1
2 3622
On Jul 3, 9:53 am, "contactmayankj...@gmail.com"
<contactmayankj...@gmail.comwrote:
Can you explain what a non-virtual thunk is? I have been getting
this error when trying to link libraries that I have built with
optimization. Specifically, when I change -Os to -O3 when building
the libraries.
I neither believe this is your question nor I believe that this is
your wording. Just have a look at http://lists.apple.com/archives/Unix.../msg00108.html.

If, by a strange coincidence, you really have this question, then
providing a piece of code with the exact error message would be
helpful.
-Neelesh
>
--
Regards
Mayank Jain
9818390836www.mayankjain.110mb.com

Jul 3 '07 #2
On Jul 3, 10:25 am, Neelesh Bodas <neelesh.bo...@gmail.comwrote:
On Jul 3, 9:53 am, "contactmayankj...@gmail.com"

<contactmayankj...@gmail.comwrote:
Can you explain what anon-virtualthunkis? I have been getting
this error when trying to link libraries that I have built with
optimization. Specifically, when I change -Os to -O3 when building
the libraries.

I neither believe this is your question nor I believe that this is
your wording. Just have a look athttp://lists.apple.com/archives/Unix-porting/2003/Dec/msg00108.html.

If, by a strange coincidence, you really have this question, then
providing a piece of code with the exact error message would be
helpful.

-Neelesh
--
Regards
Mayank Jain
9818390836www.mayankjain.110mb.com


It's an internal implementation detail used for C++ class hierarchies
that involve multiple inheritance. You aren't doing anything wrong;
this is a compiler bug. We know that we need to fix it. In the mean
time, the best workaround we know of is to use the same optimization
level for linking against a library that you used to compile the
library.

(You might also consider not exporting a C++ interface from a library.
We work very hard to make sure that the C and Objective C ABI stays
the same from one compiler release to the next, but we make no such
promise for C++.)
http://lists.apple.com/archives/Unix.../msg00107.html
what is written is this true?

Any idea to resolve this issue.

When I am compiling my code without the -O2 option it got compiled but
it gives me error when I am using this option. I am using the latest
version of the GCC compiler

--
Regards
Mayank Jain
9818390836
www.mayankjain.110mb.com

Jul 3 '07 #3

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

Similar topics

12
by: lothar | last post by:
re: 4.2.1 Regular Expression Syntax http://docs.python.org/lib/re-syntax.html *?, +?, ?? Adding "?" after the qualifier makes it perform the match in non-greedy or minimal fashion; as few...
5
by: klaus triendl | last post by:
hi, recently i discovered a memory leak in our code; after some investigation i could reduce it to the following problem: return objects of functions are handled as temporary objects, hence...
3
by: Mario | last post by:
Hello, I couldn't find a solution to the following problem (tried google and dejanews), maybe I'm using the wrong keywords? Is there a way to open a file (a linux fifo pipe actually) in...
25
by: Yves Glodt | last post by:
Hello, if I do this: for row in sqlsth: ________pkcolumns.append(row.strip()) ________etc without a prior:
22
by: Steve - DND | last post by:
We're currently doing some tests to determine the performance of static vs non-static functions, and we're coming up with some odd(in our opinion) results. We used a very simple setup. One class...
14
by: Patrick Kowalzick | last post by:
Dear all, I have an existing piece of code with a struct with some PODs. struct A { int x; int y; };
2
by: Ian825 | last post by:
I need help writing a function for a program that is based upon the various operations of a matrix and I keep getting a "non-aggregate type" error. My guess is that I need to dereference my...
0
by: amitvps | last post by:
Secure Socket Layer is very important and useful for any web application but it brings some problems too with itself. Handling navigation between secure and non-secure pages is one of the cumbersome...
399
by: =?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?= | last post by:
PEP 1 specifies that PEP authors need to collect feedback from the community. As the author of PEP 3131, I'd like to encourage comments to the PEP included below, either here (comp.lang.python), or...
12
by: puzzlecracker | last post by:
is it even possible or/and there is a better alternative to accept input in a nonblocking manner?
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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.