Removed new warnings/fixed raised issues too.
Change-Id: I44fd371d85ded5335874c4ecb707787c0cab6f1d
INCLUDE(cmake/CheckFrameworks.cmake)
INCLUDE(cmake/CStandard.cmake)
+ADD_DEFINITIONS("-Werror")
+ADD_DEFINITIONS("-Wall")
+ADD_DEFINITIONS("-Wextra")
+
SET(CMAKE_POSITION_INDEPENDENT_CODE "True")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
/******************************************************************
*
- * Copyright 2017 Samsung Electronics All Rights Reserved.
+ * Copyright 2017 - 2019 Samsung Electronics All Rights Reserved.
*
* Author: Jaroslaw Pelczar <j.pelczar@samsung.com>
*
[this, handler, &socket](const boost::system::error_code& error, std::size_t bytes_read) {
if(!error) {
assert(bytes_read == fBuffer.size());
+ (void)bytes_read;
assert(fMessageLength == 0);
google::protobuf::io::CodedInputStream::ReadLittleEndian32FromArray(
/******************************************************************
*
- * Copyright 2017 - 2018 Samsung Electronics All Rights Reserved.
+ * Copyright 2017 - 2019 Samsung Electronics All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#include <stdio.h>
#include <stdlib.h>
-int main(int argc, char ** argv)
+int main()
{
int result;
void *key_ctx = NULL;
goto exit;
}
- for(int i = 0; i < signature_len; i++) {
+ for(unsigned int i = 0; i < signature_len; i++) {
printf("%x ", (int)(*(unsigned char*)(&signature[i])));
}
printf("\n");
/******************************************************************
*
- * Copyright 2017 - 2018 Samsung Electronics All Rights Reserved.
+ * Copyright 2017 - 2019 Samsung Electronics All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#include <iostream>
#include <iomanip>
-int main(int argc, char ** argv)
+int main()
{
std::shared_ptr<dcm_client_connection> connection;
try {