Gtkmm-forge Digest, Vol 7, Issue 20



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-owner lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 390978] New: Glib::Module does not report	errors
      correctly (glibmm (bugzilla.gnome.org))


----------------------------------------------------------------------

Message: 1
Date: Sat, 30 Dec 2006 14:29:53 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 390978] New: Glib::Module does not
	report	errors correctly
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-390978-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=390978

  glibmm | general | Ver: 2.12.x

           Summary: Glib::Module does not report errors correctly
           Product: glibmm
           Version: 2.12.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: jhs cvs gnome org
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: 2.15/2.16
   GNOME milestone: Unspecified


When I use this code:

  std::string filename = Glib::Module::build_path(COMPONENT_DIR, PREFIX +
p_name);
  Glib::Module* module = new Glib::Module(filename);
  try
  {
    if (!module)
    {
      throw std::runtime_error(Glib::Module::get_last_error());
    }
  }
  catch(...) {...}

I get an empty error message, while this.

  std::string filename = Glib::Module::build_path(COMPONENT_DIR, PREFIX + 
    p_name);
  GModule* module = g_module_open(filename.c_str(), (GModuleFlags)0);
  try
  {
    if (!module)
    {
      throw std::runtime_error(g_module_error());
    }
  }
  catch(...) {...}

works fine!


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

------------------------------

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest, Vol 7, Issue 20
******************************************



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]