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/



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to