subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1442063 - in /subversion/trunk: build/generator/templates/vcnet_vcproj.ezt build/generator/templates/vcnet_vcxproj.ezt subversion/tests/libsvn_ra/ra-test.c
Date Mon, 04 Feb 2013 10:00:16 GMT
Author: rhuijben
Date: Mon Feb  4 10:00:15 2013
New Revision: 1442063

URL: http://svn.apache.org/viewvc?rev=1442063&view=rev
Log:
Turn warning C4204 "nonstandard extension used : non-constant aggregate
initializer" into an error.

* subversion/tests/libsvn_ra/ra-test.c
  (location_segments_test): Don't use non constant initializer.
  
* build/generator/templates/vcnet_vcxproj.ezt
* build/generator/templates/vcnet_vcproj.ezt
  Turn C4204 into an error.

Modified:
    subversion/trunk/build/generator/templates/vcnet_vcproj.ezt
    subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt
    subversion/trunk/subversion/tests/libsvn_ra/ra-test.c

Modified: subversion/trunk/build/generator/templates/vcnet_vcproj.ezt
URL: http://svn.apache.org/viewvc/subversion/trunk/build/generator/templates/vcnet_vcproj.ezt?rev=1442063&r1=1442062&r2=1442063&view=diff
==============================================================================
--- subversion/trunk/build/generator/templates/vcnet_vcproj.ezt (original)
+++ subversion/trunk/build/generator/templates/vcnet_vcproj.ezt Mon Feb  4 10:00:15 2013
@@ -59,7 +59,7 @@
 				DisableSpecificWarnings="4100;4127;4206;4701;4706"
 				Detect64BitPortabilityProblems="FALSE"
 				AdditionalOptions="
-				/we4002 /we4003 /we4013 /we4020 /we4022 /we4024 /we4028 /we4029 /we4030 /we4031 /we4033
/we4047 /we4089 /we4113 /we4115 /we4715"
+				/we4002 /we4003 /we4013 /we4020 /we4022 /we4024 /we4028 /we4029 /we4030 /we4031 /we4033
/we4047 /we4089 /we4113 /we4115 /we4204 /we4715"
 				DebugInformationFormat="3"
 				ProgramDataBaseFileName="$(IntDir)\[target.output_pdb]"
 				CompileAsManaged="0"

Modified: subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt
URL: http://svn.apache.org/viewvc/subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt?rev=1442063&r1=1442062&r2=1442063&view=diff
==============================================================================
--- subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt (original)
+++ subversion/trunk/build/generator/templates/vcnet_vcxproj.ezt Mon Feb  4 10:00:15 2013
@@ -64,7 +64,7 @@
       <BrowseInformation>true</BrowseInformation>
       <ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
       <DisableSpecificWarnings>4100;4127;4206;4701;4706;%(DisableSpecificWarnings)</DisableSpecificWarnings>
-      <TreatSpecificWarningsAsErrors>4002;4003;4013;4020;4022;4024;4028;4029;4030;4031;4033;4047;4089;4113;4115;4715;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
+      <TreatSpecificWarningsAsErrors>4002;4003;4013;4020;4022;4024;4028;4029;4030;4031;4033;4047;4089;4113;4115;4204;4715;%(TreatSpecificWarningsAsErrors)</TreatSpecificWarningsAsErrors>
     </ClCompile>
 [is config_type "Application"]    <Link>
       <AdditionalDependencies>[for configs.libs][configs.libs];[end]%(AdditionalDependencies)</AdditionalDependencies>

Modified: subversion/trunk/subversion/tests/libsvn_ra/ra-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_ra/ra-test.c?rev=1442063&r1=1442062&r2=1442063&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_ra/ra-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_ra/ra-test.c Mon Feb  4 10:00:15 2013
@@ -120,11 +120,14 @@ location_segments_test(const svn_test_op
   svn_ra_session_t *session;
   apr_array_header_t *segments
     = apr_array_make(pool, 1, sizeof(svn_location_segment_t *));
-  struct gls_receiver_baton_t b = { segments, pool };
+  struct gls_receiver_baton_t b;
   const char *path = "A";
   svn_revnum_t peg_revision = 1;
   svn_location_segment_t *seg;
 
+  b.segments = segments;
+  b.pool = pool;
+
   SVN_ERR(make_and_open_local_repos(&session,
                                     "test-repo-locsegs", opts,
                                     pool));



Mime
View raw message