Skip to content

Commit 9d6caea

Browse files
Merge pull request #627 from ut-issl/develop
Update main (v3.9.2) on 2023-06-29
2 parents 772e7ca + f46de43 commit 9d6caea

File tree

9 files changed

+13
-8
lines changed

9 files changed

+13
-8
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
minimum_user:
1212
name: minimum user
13-
uses: arkedge/workflows-c2a/.github/workflows/build.yml@v2.3.0
13+
uses: arkedge/workflows-c2a/.github/workflows/build.yml@v2.5.0
1414
with:
1515
c2a_dir: Examples/minimum_user
1616
c2a_custom_setup: |
@@ -25,7 +25,7 @@ jobs:
2525
2626
second_obc_user:
2727
name: 2nd obc user
28-
uses: arkedge/workflows-c2a/.github/workflows/build.yml@v2.3.0
28+
uses: arkedge/workflows-c2a/.github/workflows/build.yml@v2.5.0
2929
with:
3030
c2a_dir: Examples/2nd_obc_user
3131
c2a_custom_setup: |

.github/workflows/check_coding_rule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
exit "${status}"
4040
4141
- name: install reviewdog
42-
uses: reviewdog/[email protected].4
42+
uses: reviewdog/[email protected].5
4343

4444
- name: fix error log source file path
4545
run: |

Applications/event_utility.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ static void EVENT_UTIL_init_(void)
2626
event_utility_.is_enabled_eh_execution = 1;
2727
}
2828

29-
static void EVENT_UTIL_update_()
29+
static void EVENT_UTIL_update_(void)
3030
{
3131
if (event_utility_.is_enabled_eh_execution)
3232
{

Applications/nop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ AppInfo NOP_create_app(void)
1616
return AI_create_app_info("nop", NULL, NOP_nop_);
1717
}
1818

19-
static void NOP_nop_() {
19+
static void NOP_nop_(void) {
2020
// no operation
2121
}
2222

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "c2a-core"
3-
version = "3.9.1"
3+
version = "3.9.2"
44
edition = "2021"
55

66
links = "c2a-core"

Library/endian.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include "endian.h"
77
#include <src_user/Settings/build_settings.h>
88
#include <stdint.h>
9+
#include <string.h>
910

1011
void* ENDIAN_memcpy(void* dest, const void* src, size_t size)
1112
{

TlmCmd/common_cmd_packet_util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ PH_ACK CCP_register_tlc(cycle_t ti, TLCD_ID tlcd_id, CMD_CODE cmd_id, const uint
266266
{
267267
CCP_EXEC_TYPE type = CCP_get_exec_type_from_tlcd_id(tlcd_id);
268268

269-
if (type == CCP_EXEC_UNKNOWN)
269+
if (type == CCP_EXEC_TYPE_UNKNOWN)
270270
{
271271
return PH_ACK_INVALID_PACKET;
272272
}

c2a_core_main.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ void C2A_core_main(void);
99
// 詳細: Docs/General/release.md
1010
#define C2A_CORE_VER_MAJOR (3)
1111
#define C2A_CORE_VER_MINOR (9)
12-
#define C2A_CORE_VER_PATCH (1)
12+
#define C2A_CORE_VER_PATCH (2)
1313
#define C2A_CORE_VER_PRE ("")
1414

1515
#endif

common.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ if(MSVC)
3434
if(BUILD_C2A_AS_UTF8)
3535
target_compile_options(${PROJECT_NAME} PUBLIC "/source-charset:utf-8")
3636
endif()
37+
38+
# warning
39+
target_compile_options(${PROJECT_NAME} PRIVATE /wd4083) # disable #pragma SECTION REPRO warning
40+
target_compile_options(${PROJECT_NAME} PRIVATE /wd4081) # disable #pragma section (EOF)
3741
else()
3842
# SJIS
3943
# if (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")

0 commit comments

Comments
 (0)