MySQL++

Check-in [5719c93687]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Removed explicit library dependency on "mysqlpp" for test_ssqls2 and ssqlsxlat: we get that from the Bakefile "programs" template we defined. Not only is it redundant, the second declaration breaks under VC++ due to the "_d" suffix in debug builds, which the program template handles for us, but our per-program dependency did not.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:5719c936875bf4ffa6fad3badbdd9f455e24a194cdd0ad2f573c23a1575b7c58
User & Date: tangent 2018-10-22 23:55:39
Context
2018-10-31
18:26
Assorted fixes to mysql++.bkl for MinGW. Leaf check-in: 0cf989112e user: tangent tags: trunk
2018-10-22
23:55
Removed explicit library dependency on "mysqlpp" for test_ssqls2 and ssqlsxlat: we get that from the Bakefile "programs" template we defined. Not only is it redundant, the second declaration breaks under VC++ due to the "_d" suffix in debug builds, which the program template handles for us, but our per-program dependency did not. check-in: 5719c93687 user: tangent tags: trunk
23:41
Added a cast in FieldNames::operator[] to squish a warning about possible data loss in a condition that can't practically happen. check-in: 80a2d7ba1d user: tangent tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to mysql++.bkl.

244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
...
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308

    <!-- Build rules for ssqlsxlat tool -->
    <exe id="ssqlsxlat" template="programs">
      <sources>ssx/genv2.cpp</sources>
      <sources>ssx/main.cpp</sources>
      <depends>ssqls2parse</depends>
      <sys-lib>mysqlpp_ssqls2parse</sys-lib>
      <sys-lib>mysqlpp</sys-lib>
    </exe>
  </if>

  <!-- Define library testing programs' output targets, if enabled -->
  <if cond="BUILDTEST=='yes'">
    <exe id="test_array_index" template="programs">
      <sources>test/array_index.cpp</sources>
................................................................................
      <sources>test/sqlstream.cpp</sources>
    </exe>
    <if cond="BUILDLIBRARY=='yes'">
      <exe id="test_ssqls2" template="programs">
        <sources>test/ssqls2.cpp</sources>
        <depends>ssqls2parse</depends>
        <sys-lib>mysqlpp_ssqls2parse</sys-lib>
        <sys-lib>mysqlpp</sys-lib>
      </exe>
    </if>
    <if cond="FORMAT!='msvs2003prj'">
      <!-- VC++ 2003 can't compile this -->
      <exe id="test_string" template="programs">
        <sources>test/string.cpp</sources>
      </exe>







<







 







<







244
245
246
247
248
249
250

251
252
253
254
255
256
257
...
293
294
295
296
297
298
299

300
301
302
303
304
305
306

    <!-- Build rules for ssqlsxlat tool -->
    <exe id="ssqlsxlat" template="programs">
      <sources>ssx/genv2.cpp</sources>
      <sources>ssx/main.cpp</sources>
      <depends>ssqls2parse</depends>
      <sys-lib>mysqlpp_ssqls2parse</sys-lib>

    </exe>
  </if>

  <!-- Define library testing programs' output targets, if enabled -->
  <if cond="BUILDTEST=='yes'">
    <exe id="test_array_index" template="programs">
      <sources>test/array_index.cpp</sources>
................................................................................
      <sources>test/sqlstream.cpp</sources>
    </exe>
    <if cond="BUILDLIBRARY=='yes'">
      <exe id="test_ssqls2" template="programs">
        <sources>test/ssqls2.cpp</sources>
        <depends>ssqls2parse</depends>
        <sys-lib>mysqlpp_ssqls2parse</sys-lib>

      </exe>
    </if>
    <if cond="FORMAT!='msvs2003prj'">
      <!-- VC++ 2003 can't compile this -->
      <exe id="test_string" template="programs">
        <sources>test/string.cpp</sources>
      </exe>