Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Bugs 609-dev3
BugFixedDead.gif  Bugs 609-dev3 [message #5490] Wed, 27 September 2006 11:53 Go to next message
3togo is currently offline  3togo
Messages: 83
Registered: May 2006
Location: Hong Kong SAR
Member
If I removed the whole directory of ~/.theide and run /usr/bin/ide (version 609-dev3),
I will got the following errors:
root@jc-desktop:/home/jc# /usr/bin/ide
terminate called after throwing an instance of 'Exc'
Aborted

After tracing the codes, I found that old version of ide will automatically generate the following files under ~/.theide/cfg folder
but new version does not.

Regards,

3togo


Only in ../.theide_good/cfg: AddressBook@examples.cdb
Only in ../.theide_good/cfg: AddressBook@examples.cfg
Only in ../.theide_good/cfg: Core@examples.cdb
Only in ../.theide_good/cfg: CtrlCore@examples.cdb
Only in ../.theide_good/cfg: CtrlLib@examples.cdb
Only in ../.theide_good/cfg: Draw@examples.cdb
Only in ../.theide_good/cfg: .home.jc.upp.uppsrc.TCtrlLib.appdoc.tpp.DlgCalc$cs-cz.tdx
Only in ../.theide_good/cfg: .home.jc.upp.uppsrc.VectorDes.src.tpp.VectorDes$en-us.tdx
Only in ../.theide_good/cfg: PdfDraw@examples.cdb
Only in ../.theide_good/cfg: plugin$bmp@examples.cdb
Only in ../.theide_good/cfg: plugin$png@examples.cdb
Only in ../.theide_good/cfg: plugin$z@examples.cdb
Only in ../.theide_good/cfg: Report@examples.cdb
Only in ../.theide_good/cfg: RichText@examples.cdb
Re: Bugs 609-dev3 [message #5491 is a reply to message #5490] Wed, 27 September 2006 12:06 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
3togo wrote on Wed, 27 September 2006 05:53

If I removed the whole directory of ~/.theide and run /usr/bin/ide (version 609-dev3),
I will got the following errors:
root@jc-desktop:/home/jc# /usr/bin/ide
terminate called after throwing an instance of 'Exc'
Aborted



Strange, this looks like -fexceptions problem once again.

How have you compiled theide? Do you have -fexceptions in build method?

Mirek
Re: Bugs 609-dev3 [message #5492 is a reply to message #5491] Wed, 27 September 2006 12:17 Go to previous messageGo to next message
3togo is currently offline  3togo
Messages: 83
Registered: May 2006
Location: Hong Kong SAR
Member
I don't use -fexceptions.

By the way I use the same way to compile 608dev and 609dev (GCC32-Gcc32-Gui-Linux-Main-Shared). The former is alright but the later is not.

Regards,

3togo
Re: Bugs 609-dev3 [message #5494 is a reply to message #5492] Wed, 27 September 2006 12:28 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
3togo wrote on Wed, 27 September 2006 06:17

I don't use -fexceptions.



You have to use it, otherwise the bug you list is produced.

The problem is that with GCC, C++ exceptions cannot get through C code otherwise, which is what new image plugins do.

Quote:


By the way I use the same way to compile 608dev and 609dev (GCC32-Gcc32-Gui-Linux-Main-Shared). The former is alright but the later is not.



You could have fallen into the same trap as I did when I was unable to reproduce the bug - the exception is thrown when parsing some specific topic file for fulltext search. Unless you have deleted cfg directory with 608, parsing is not perfomed, because the file is cached in cfg.

In any case, try to add -fexceptions to build method compiler options (both release and debug), recompile and see if it is fixed. If that does not work, we will digg deeper Smile

Mirek
Re: Bugs 609-dev3 [message #5502 is a reply to message #5494] Wed, 27 September 2006 19:47 Go to previous messageGo to next message
3togo is currently offline  3togo
Messages: 83
Registered: May 2006
Location: Hong Kong SAR
Member
Where to add it... Modify all the .upp files or just ide.upp.
How?

3togo


luzr wrote on Wed, 27 September 2006 06:28

3togo wrote on Wed, 27 September 2006 06:17

I don't use -fexceptions.



You have to use it, otherwise the bug you list is produced.

The problem is that with GCC, C++ exceptions cannot get through C code otherwise, which is what new image plugins do.

Quote:


By the way I use the same way to compile 608dev and 609dev (GCC32-Gcc32-Gui-Linux-Main-Shared). The former is alright but the later is not.



You could have fallen into the same trap as I did when I was unable to reproduce the bug - the exception is thrown when parsing some specific topic file for fulltext search. Unless you have deleted cfg directory with 608, parsing is not perfomed, because the file is cached in cfg.

In any case, try to add -fexceptions to build method compiler options (both release and debug), recompile and see if it is fixed. If that does not work, we will digg deeper Smile

Mirek


Re: Bugs 609-dev3 [message #5503 is a reply to message #5502] Wed, 27 September 2006 19:49 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
3togo wrote on Wed, 27 September 2006 13:47

Where to add it... Modify all the .upp files or just ide.upp.



Setup/Build methods

Add -fexceptions to "Debug options", "Optimize for speed" and "Optimize for size".

Mirek
[Solved !]Re: Bugs 609-dev3 [message #5507 is a reply to message #5503] Thu, 28 September 2006 12:36 Go to previous message
3togo is currently offline  3togo
Messages: 83
Registered: May 2006
Location: Hong Kong SAR
Member
Bingo......
By removing the out folder and recompile all the libraries, the bug was fixed

Anyhow, thank again.

3togo

luzr wrote on Wed, 27 September 2006 13:49

3togo wrote on Wed, 27 September 2006 13:47

Where to add it... Modify all the .upp files or just ide.upp.



Setup/Build methods

Add -fexceptions to "Debug options", "Optimize for speed" and "Optimize for size".

Mirek


Previous Topic: New to Ultimate++. First impressions and sugestions to improve
Next Topic: Is MT-option broken now?
Goto Forum:
  


Current Time: Sun Apr 28 15:31:09 CEST 2024

Total time taken to generate the page: 0.04319 seconds