Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.gnustep.bug > #4085

[bug #47178] JDBC backend in SQLClient does not compile

Path csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!usenet.stanford.edu!not-for-mail
From Niels Grewe <INVALID.NOREPLY@gnu.org>
Newsgroups gnu.gnustep.bug
Subject [bug #47178] JDBC backend in SQLClient does not compile
Date Wed, 17 Feb 2016 13:48:15 +0000
Lines 77
Approved bug-gnustep@gnu.org
Message-ID <mailman.4932.1455716902.843.bug-gnustep@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain;charset=UTF-8
X-Trace usenet.stanford.edu 1455716902 1798 208.118.235.17 (17 Feb 2016 13:48:22 GMT)
X-Complaints-To action@cs.stanford.edu
To Niels Grewe <thebeing+savannah@halbordnung.de>, bug-gnustep@gnu.org
Envelope-to bug-gnustep@gnu.org
X-PHP-Originating-Script 0:sendmail.php
X-Savane-Server savannah.gnu.org:443 [208.118.235.70]
X-Savane-Project gnustep
X-Savane-Tracker bugs
X-Savane-Item-ID 47178
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4
X-Apparently-From 91.44.215.131 (Savane authenticated user thebeing)
In-Reply-To
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From 2001:4830:134:6::a
X-BeenThere bug-gnustep@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNUstep programming environment <bug-gnustep.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-gnustep>, <mailto:bug-gnustep-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-gnustep>
List-Post <mailto:bug-gnustep@gnu.org>
List-Help <mailto:bug-gnustep-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-gnustep>, <mailto:bug-gnustep-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.gnustep.bug:4085

Show key headers only | View raw


URL:
  <http://savannah.gnu.org/bugs/?47178>

                 Summary: JDBC backend in SQLClient does not compile
                 Project: GNUstep
            Submitted by: thebeing
            Submitted on: Mi 17 Feb 2016 13:48:14 GMT
                Category: Libraries
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The JDBC backend in SQLClient will not compile because it wasn't updated
properly after the inception of the SQLClientPool code:

 Compiling file JDBC.m ...
JDBC.m: In function '+[SQLClientJVM defaultClassPath]':
JDBC.m:251:3: warning: @interface of class 'NSDictionary' not found [enabled
by default]
   return [environment objectForKey: @"CLASSPATH"];
   ^
JDBC.m: In function '+[SQLClientJVM defaultLibraryPath]':
JDBC.m:258:3: warning: @interface of class 'NSDictionary' not found [enabled
by default]
   return [environment objectForKey: @"LD_LIBRARY_PATH"];
   ^
JDBC.m: In function '-[SQLClientJDBC backendQuery:recordType:listType:]':
JDBC.m:1310:14: warning: variable 'getBinaryStream' set but not used
[-Wunused-but-set-variable]
    jmethodID getBinaryStream;
              ^
JDBC.m: In function '-[SQLClientJDBC batch:]':
JDBC.m:1524:14: error: 'struct _JDBCTransaction' has no member named '_db'
   transaction->_db = [self retain];
              ^
JDBC.m: In function '-[SQLClientJDBC transaction]':
JDBC.m:1683:14: error: 'struct _JDBCTransaction' has no member named '_db'
   transaction->_db = [self retain];
              ^
JDBC.m: In function '-[_JDBCTransaction execute]':
JDBC.m:1739:12: error: '_db' undeclared (first use in this function)
       if ([_db connect] == NO)
            ^
JDBC.m:1739:12: note: each undeclared identifier is reported only once for
each function it appears in
JDBC.m:1789:13: warning: variable 'js' set but not used
[-Wunused-but-set-variable]
     jobject js;
             ^
make[3]: *** [obj/JDBC.obj/JDBC.m.o] Error 1

As you can see, it tries to access the _db ivar on SQLTransaction, which is
now gone and replaced with a _owner ivar that holds either an SQLClient or an
SQLClientPool.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47178>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/

Back to gnu.gnustep.bug | Previous | Next | Find similar


Thread

[bug #47178] JDBC backend in SQLClient does not compile Niels Grewe <INVALID.NOREPLY@gnu.org> - 2016-02-17 13:48 +0000

csiph-web