Was getting Error __curr_eh_stack_entry and __eh_curr_region With pgcpp C++ Compiler.
check out complete man pgcpp – The Portland Group Inc. C++ compiler
Building an application software using pgcc compiler, developed by C++ Language generates two external references of symbols [__curr_eh_stack_entry] and [__eh_curr_region], and results in kink error. Why?
How To Resolve Error __curr_eh_stack_entry and __eh_curr_region With pgcpp C++ Compiler?
Answer:
Compiler automatically generates these symbols when -exception (C++ exception handling) and -rtti=on (Runtime type information) options are used. If these option is not required to use, Please do not enable them.
source
-rtti(default) –no_rtti An pgcc compiler option switch.
Enable (disable) support for RTTI (runtime type Information) features: dynamic_cast, typeid.
Related posts:
- Unresolved External Symbol _getenv_ USE IFPORT Link Error For Application Porting From UNIX To Win32
- Parse error: wp-content/themes/grid_focus/functions.php on line 6
- Solution – C Requires That a Struct Or Union Has At Least One Member
- How To _access Function For Long File Names As Path In Winddows Programming Use UNC
- Fork Implementation In Windows Operating System Vfork Implement in Win32
Tags: linux, unix to windows porting, win32, Windows XP
This entry was posted on Thursday, September 16th, 2010 at 3:19 am and is filed under Tips & Tricks, Unix2Win32_Porting. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.