Skip to content

Commit

Permalink
updae for mo
Browse files Browse the repository at this point in the history
  • Loading branch information
fasiondog committed Jul 31, 2024
1 parent da373a5 commit 3cf82e3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- name: config
run: |
xmake f -c -k shared -y -vD
xmake f -c -k shared -y -vD --mo=y --http_client_zip=y --http_client_ssl=y
- name: build
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu_aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: configure
run: |
xmake f -p cross -a aarch64 --sdk=`pwd`/${{ matrix.cross }}-cross -k shared -y -vD
xmake f -p cross -a aarch64 --sdk=`pwd`/${{ matrix.cross }}-cross -k shared -y -vD --mo=y --http_client_zip=y --http_client_ssl=y
- name: build
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: configure
shell: cmd
run: |
xmake f -c -k shared -y -vD
xmake f -c -k shared -y -vD --mo=y --http_client_zip=y --http_client_ssl=y
- name: build
shell: cmd
Expand Down
11 changes: 10 additions & 1 deletion hikyuu/utilities/mo/moFileReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
#ifndef __MOFILEREADER_SINGLE_INCLUDE_H_INCLUDED__
#define __MOFILEREADER_SINGLE_INCLUDE_H_INCLUDED__

#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wsign-compare"
#endif

#if defined(_MSC_VER)
#pragma warning(disable : 4267)
#endif /* _MSC_VER */
Expand Down Expand Up @@ -818,10 +823,14 @@ inline int moFileGetNumStrings() {
}
#endif

MO_END_NAMESPACE

#if defined(_MSC_VER)
#pragma warning(default : 4251)
#endif /* _MSC_VER */

MO_END_NAMESPACE
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif

#endif /* __MOFILEREADER_SINGLE_INCLUDE_H_INCLUDED__ */

0 comments on commit 3cf82e3

Please sign in to comment.