Skip to content

Commit

Permalink
revert use of _stricmp because its not available on POSIX systems (mu…
Browse files Browse the repository at this point in the history
…st be windows only?)
  • Loading branch information
nam20485 committed Apr 20, 2024
1 parent 75262bc commit 2447039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OdbDesignServer/Controllers/DesignsController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ namespace Odb::App::Server
auto szExcludeFileArchive = req.url_params.get(kszExcludeFileArchiveQueryParamName);
if (szExcludeFileArchive != nullptr)
{
if (_stricmp(szExcludeFileArchive, "true") == 0)
if (stricmp(szExcludeFileArchive, "true") == 0)

Check failure on line 175 in OdbDesignServer/Controllers/DesignsController.cpp

View workflow job for this annotation

GitHub Actions / CMake-Multi-Platform-Build (ubuntu-22.04, linux-release)

‘stricmp’ was not declared in this scope; did you mean ‘strncmp’?

Check warning on line 175 in OdbDesignServer/Controllers/DesignsController.cpp

View workflow job for this annotation

GitHub Actions / CMake-Multi-Platform-Build (windows-2022, x64-release)

'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details.

Check failure on line 175 in OdbDesignServer/Controllers/DesignsController.cpp

View workflow job for this annotation

GitHub Actions / CMake-Multi-Platform-Build (ubuntu-22.04, linux-release)

‘stricmp’ was not declared in this scope; did you mean ‘strncmp’?

Check warning on line 175 in OdbDesignServer/Controllers/DesignsController.cpp

View workflow job for this annotation

GitHub Actions / CMake-Multi-Platform-Build (windows-2022, x64-release)

'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details.

Check failure on line 175 in OdbDesignServer/Controllers/DesignsController.cpp

View workflow job for this annotation

GitHub Actions / CMake-Multi-Platform-Build (macos-12, macos-release)

use of undeclared identifier 'stricmp'; did you mean 'strcmp'?

Check failure on line 175 in OdbDesignServer/Controllers/DesignsController.cpp

View workflow job for this annotation

GitHub Actions / CMake-Multi-Platform-Build (macos-12, macos-release)

use of undeclared identifier 'stricmp'; did you mean 'strcmp'?
{
excludeFileArchive = true;
}
Expand Down

0 comments on commit 2447039

Please sign in to comment.