38e7155c03
These changes allow the unit tests for C (GLib) to build without compiler warnings, even with additional warnings enabled. They include - Disabling string-function optimizations when glibc is used, as these produce compiler warnings when a string function is used within a call to assert (); - Remove the "LL" suffix (added in C99) from 64-bit integer literals; - Replace C++-style ("//") comments with C-style equivalents; - Remove unused constant declarations that generated warnings; and - Mark (or remove, from main ()) unused function parameters. |
||
---|---|---|
.. | ||
src/thrift/c_glib | ||
test | ||
CMakeLists.txt | ||
coding_standards.md | ||
Makefile.am | ||
README.md | ||
thrift_c_glib.pc.in |
Thrift C Software Library
License
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Using Thrift with C
The Thrift C libraries are built using the GNU tools. Follow the instructions in the top-level README in order to generate the Makefiles.
Dependencies
GLib http://www.gtk.org/