ut-issl / s2e-core

Spacecraft Simulation Environment Core codes
MIT License
46 stars 18 forks source link

`.ini` file read error for Windows Visual Studio users #576

Closed 200km closed 8 months ago

200km commented 9 months ago

Details

Description

The following descriptions in the ini files cause problems for Windows Visual Studio users. In this case, the ini file reader cannot recognize the // as the comment delimiter, and the setting parameter is handled as STRING_VALUE // Comment, not STRING_VALUE.

string_parameter = STRING_VALUE // Comment

Windows users can fix this problem by changing the ini file without // Comment.

string_parameter = STRING_VALUE

or write a comment in another line

// Comment
string_parameter = STRING_VALUE

Conditions of occurrence

Windows Visual Studio users.

Additional information

Tasks

Impact

Windows user only.

Supplementary notes

Related PRs and issues. https://github.com/ut-issl/s2e-core/pull/575 https://github.com/ut-issl/s2e-core/issues/254 https://github.com/ut-issl/s2e-core/issues/549

Notes