[Bug 274878] Tupi (Non KDE application) crashes at startup

Gustav Gonzalez info at maefloresta.com
Tue Jun 7 01:33:51 BST 2011


https://bugs.kde.org/show_bug.cgi?id=274878


Gustav Gonzalez <info at maefloresta.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Gustav Gonzalez <info maefloresta com>  2011-06-07 02:33:50 ---
> Btw, I could not compile tupi, error message is:
> 
> ktprojectmanager.cpp: In member function ‘virtual void
> KTProjectManager::handleLocalRequest(const KTProjectRequest*)’:
> ktprojectmanager.cpp:331:86: error: taking address of temporary

  Latest version of gcc doesn't allow some kind of old instructions that 
  I'm still using (variable addressing stuff). I have to update some few
  lines (pending work) to avoid this annoying error.

  Now, the good news... I found out the problem! Unfortunately I was using
  reserved names for my classes like: KConfig, KGlobal, KAction, and so on.
  I renamed all the suspicious classes, compiled the whole code again and
  taaa daaa:

  http://www.maefloresta.com/gallery2/main.php?g2_itemId=363

  Now Tupi runs from KDE! Thanks for the hints :)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list