foundationdb/fdbserver
Markus Pilman dbe9baff1f Several small compilation fixes for new versions of gcc
There are several missing includes for cmath in the code, I added those.

Next, Coro returns a reference to a stack variable and this causes a
warning. As this is probably ok for Coro, I disabled the warning in
that file for GCC. I want to have this warning in the build system as
it is generally a very useful warning to have.

Another change is that major and minor are deprecated for a while now.
I replaced those with gnu_dev_major and gnu_dev_minor.

ErrorOr currently implements operators ==, !=, and <. These do not
compile because Error does not implement ==. This compiles on older
versions of gcc and clang because ErrorOr<T>::operator== is not used
anywhere. It is still wrong though and newer gcc versions complain.
I simply removed these methods.

The most interesting fix is that TraceEvent::~TraceEvent is currently
throwing exceptions. This is illegal behavior in C++11 and a idea in
older versions of C++. For now I simply removed the throw, but this
might need some more thought.
2019-01-03 12:44:19 -08:00
..
sqlite Fix some typos. 2018-04-19 11:44:01 -07:00
workloads Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
ApplyMetadataMutation.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
CMakeLists.txt Default configuration now builds. 2018-12-13 15:52:27 -08:00
ClusterController.actor.cpp Merge branch 'release-6.0' 2018-11-10 13:04:24 -08:00
ClusterRecruitmentInterface.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
CompactMap.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
ConflictSet.h remove trailing whitespace from our copyright headers ; fixed formatting of python setup.py 2018-02-21 10:25:11 -08:00
CoordinatedState.actor.cpp Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
CoordinatedState.h Reverting changes from merge of master into release-5.2 (b25810711c). Note that we never intend to release master into release-5.2, but if we did we would need to revert this commit. 2018-03-06 10:15:04 -08:00
Coordination.actor.cpp Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
CoordinationInterface.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
CoroFlow.actor.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
CoroFlow.h remove trailing whitespace from our copyright headers ; fixed formatting of python setup.py 2018-02-21 10:25:11 -08:00
DBCoreState.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
DataDistribution.actor.cpp Avoid null check 2018-12-28 13:09:04 -08:00
DataDistribution.h Merge branch 'release-6.0' 2018-11-12 20:26:58 -08:00
DataDistributionQueue.actor.cpp TeamCollection: clang-format 2018-11-21 11:18:26 -08:00
DataDistributionTracker.actor.cpp Merge branch 'release-6.0' 2018-11-12 20:26:58 -08:00
DiskQueue.actor.cpp Require PageHeader to be 36 bytes, and don't use magic numbers. 2018-12-17 13:37:44 -08:00
IDiskQueue.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
IKeyValueStore.h Address review comments. 2018-10-19 18:55:35 -07:00
IPager.h Many bug fixes related to concurrent page operations and pager shutdown. 2018-11-06 19:31:16 -08:00
IVersionedStore.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
IndirectShadowPager.actor.cpp Many bug fixes related to concurrent page operations and pager shutdown. 2018-11-06 19:31:16 -08:00
IndirectShadowPager.h Many bug fixes related to concurrent page operations and pager shutdown. 2018-11-06 19:31:16 -08:00
KeyValueStoreCompressTestData.actor.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
KeyValueStoreMemory.actor.cpp Address review comments. 2018-10-19 18:55:35 -07:00
KeyValueStoreSQLite.actor.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
Knobs.cpp Several small compilation fixes for new versions of gcc 2019-01-03 12:44:19 -08:00
Knobs.h Merge branch 'release-6.0' 2018-11-12 20:26:58 -08:00
LeaderElection.actor.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
LeaderElection.h Reverting changes from merge of master into release-5.2 (b25810711c). Note that we never intend to release master into release-5.2, but if we did we would need to revert this commit. 2018-03-06 10:15:04 -08:00
LogProtocolMessage.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
LogRouter.actor.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
LogSystem.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
LogSystemConfig.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
LogSystemDiskQueueAdapter.actor.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
LogSystemDiskQueueAdapter.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
LogSystemPeekCursor.actor.cpp Merge branch 'release-6.0' 2018-11-10 13:04:24 -08:00
MasterInterface.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
MasterProxyServer.actor.cpp Merge branch 'release-6.0' of github.com:apple/foundationdb 2018-11-27 09:50:39 -08:00
MemoryPager.actor.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
MemoryPager.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
MoveKeys.actor.cpp Merge branch 'release-6.0' 2018-11-12 20:26:58 -08:00
MoveKeys.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
NetworkTest.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
OldTLogServer.actor.cpp Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
Orderer.actor.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
PrefixTree.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
QuietDatabase.actor.cpp Merge branch 'release-6.0' 2018-11-10 13:04:24 -08:00
QuietDatabase.h Restrict actor keyword #defines to actor files. 2018-08-14 15:50:26 -07:00
Ratekeeper.actor.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
Ratekeeper.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
RecoveryState.h fix: kill all tlogs in one region prevents the remote logs from recovering in that region, do not allow that to prevent us from configuring usable_regions=1. 2018-07-05 00:08:51 -07:00
Resolver.actor.cpp Merge branch 'release-6.0' 2018-11-12 20:26:58 -08:00
ResolverInterface.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
Restore.actor.cpp Merge branch 'release-6.0' 2018-11-10 13:04:24 -08:00
RestoreInterface.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
ServerDBInfo.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
SimulatedCluster.actor.cpp Merge branch 'release-6.0' 2018-11-10 13:04:24 -08:00
SimulatedCluster.h Fix the other half of simulation requiring a TLS Plugin. 2018-04-30 18:26:29 -07:00
SkipList.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
Status.actor.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
Status.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
StorageMetrics.actor.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
StorageMetrics.h Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
TLogInterface.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
TLogServer.actor.cpp Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
TagPartitionedLogSystem.actor.cpp Merge branch 'release-6.0' 2018-11-12 20:26:58 -08:00
TesterInterface.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
VFSAsync.cpp Revert one line from #856 that accidentally changed the include path for Windows.h 2018-10-23 18:58:00 -07:00
VersionedBTree.actor.cpp Fix issues that a newer compiler warned about. 2018-12-14 14:43:50 -08:00
WaitFailure.actor.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
WaitFailure.h remove trailing whitespace from our copyright headers ; fixed formatting of python setup.py 2018-02-21 10:25:11 -08:00
WorkerInterface.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
fdbserver.actor.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
fdbserver.vcxproj Merge pull request #819 from satherton/feature-redwood 2018-10-18 18:38:11 -07:00
fdbserver.vcxproj.filters Merge commit 'a72c8f5cb2e79a673abc0ed3d27ef1c51028fb13' into feature-redwood 2018-10-05 10:15:10 -07:00
local.mk Remove specifying non-root directory as a path to search for includes. 2018-10-19 18:56:45 -07:00
masterserver.actor.cpp Merge branch 'release-6.0' 2018-11-13 16:06:39 -08:00
networktest.actor.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
pubsub.actor.cpp Adjust all includes to be relative to the root. 2018-10-19 17:35:33 +00:00
pubsub.h Replace & operator with variadic function 2018-12-28 11:33:42 -08:00
storageserver.actor.cpp Merge branch 'release-6.0' 2018-11-10 13:04:24 -08:00
template_fdb.h remove trailing whitespace from our copyright headers ; fixed formatting of python setup.py 2018-02-21 10:25:11 -08:00
tester.actor.cpp TeamCollection: clang-format 2018-11-21 11:18:26 -08:00
worker.actor.cpp Merge pull request #964 from xumengpanda/mengxu/teamcollection-release 2018-12-13 13:18:54 -08:00