bug-gnustep
[Top][All Lists]
Advanced

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

[bug #14915] gnustep_base_version variable appears inaccessable in windo


From: Matthew Jimenez
Subject: [bug #14915] gnustep_base_version variable appears inaccessable in windows
Date: Fri, 4 Nov 2005 17:52:21 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14915>

                 Summary: gnustep_base_version variable appears inaccessable
in windows
                 Project: GNUstep
            Submitted by: mjimenez
            Submitted on: Fri 11/04/05 at 17:52
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

I'm having trouble accessing the gnustep_base_version variable in preface.m
under my win32/msys environment.
I have a feeling the compiler is not exporting the variables as expected in
the dll.

I'm trying this simply to display the dll version along side my app's version
number - mostly to ensure my users aren't accidentally using the wrong version
of the library.

Compiled with gcc version 3.4.2 (mingw-special)

I've tried declaring the variable as "__declspec(dllimport) extern const char
* gnustep_base_version" and "extern const char * gnustep_base_version" with no
luck. Maybe I'm missing something obvious.

However, it might be a bit nicer to return this variable with a simple
function.

Any thoughts?






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14915>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]