public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/39437]  New: Support for automatic linking via pragma
@ 2009-03-11 21:35 olafvdspek at gmail dot com
  2009-04-16 20:48 ` [Bug c++/39437] " pinskia at gcc dot gnu dot org
  2010-06-07  3:01 ` olafvdspek at gmail dot com
  0 siblings, 2 replies; 7+ messages in thread
From: olafvdspek at gmail dot com @ 2009-03-11 21:35 UTC (permalink / raw)
  To: gcc-bugs

MSVC supports the following pragma, which can be used to automatically link a
library when a header file is included. This is used by for example Boost.

#pragma comment(lib, "requiredLibrary.lib")

Unfortunately, g++ doesn't support this. Could you add it?


-- 
           Summary: Support for automatic linking via pragma
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: olafvdspek at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39437


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-02-12 15:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-39437-4@http.gcc.gnu.org/bugzilla/>
2011-02-11 16:44 ` [Bug c++/39437] Support for automatic linking via pragma olafvdspek at gmail dot com
2011-02-11 17:00 ` rguenth at gcc dot gnu.org
2011-02-11 17:10 ` olafvdspek at gmail dot com
2011-02-11 19:38 ` manu at gcc dot gnu.org
2011-02-12 15:48 ` olafvdspek at gmail dot com
2009-03-11 21:35 [Bug c++/39437] New: " olafvdspek at gmail dot com
2009-04-16 20:48 ` [Bug c++/39437] " pinskia at gcc dot gnu dot org
2010-06-07  3:01 ` olafvdspek at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).