From ce55ff9441753164a34f31a48572ea2f1fb38aba Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Mon, 18 May 2015 15:01:15 -0400 Subject: Getting the ObjC generator building on Windows. Remove the ClassList support (maybe bring it back in the future). Trim the includes to hopefully get a working Window build. Add some more returns after switches for compilers that warn even when all values of the enum are handled. Use ghtonl instead of htonl. Change the use of [u]int(8,32)_t within the ObjC generator code to [u]int(8,32) to match the rest of the compiler. Add objective-c generator files to Visual Studio project. --- objectivec/DevTools/check_version_stamps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'objectivec/DevTools') diff --git a/objectivec/DevTools/check_version_stamps.sh b/objectivec/DevTools/check_version_stamps.sh index 5de9ef14..7fc44265 100755 --- a/objectivec/DevTools/check_version_stamps.sh +++ b/objectivec/DevTools/check_version_stamps.sh @@ -25,7 +25,7 @@ readonly ConstantName=GOOGLE_PROTOBUF_OBJC_GEN_VERSION readonly PluginSrc="${ProtoRootDir}/src/google/protobuf/compiler/objectivec/objectivec_file.cc" readonly PluginVersion=$( \ cat "${PluginSrc}" \ - | sed -n -e "s:const int32_t ${ConstantName} = \([0-9]*\);:\1:p" + | sed -n -e "s:const int32 ${ConstantName} = \([0-9]*\);:\1:p" ) if [[ -z "${PluginVersion}" ]] ; then -- cgit v1.2.3