Skip to content

Conversation

@chipbarnaby
Copy link
Contributor

@chipbarnaby chipbarnaby commented Nov 13, 2025

Description

Code out cndtype.def definitions of internal-only data types (e.g. date/time structures and pointers). These types are unprobable. In cnrecs.def, use *declares in place of custom data types.

In addition, fixed a long-standing rcdef bug the prevented using *declare as the last item in a record. Replaced some rcdef input file managment globals with a class. Improved output. Added file rcdef_success.txt that is created if-and-only-if rcdef succeeds.

cse/src/CMakeLists.txt -- reworked to use rcdef_success.txt. Fixes double run problem.

No results changes. No documentation changes.

@chipbarnaby chipbarnaby marked this pull request as draft November 13, 2025 21:42
src/CNFIELDS.DEF Outdated
POWER FLOAT LMNONE UNPOWER // Btuh
POWER_NZ FLOAT LMNZ UNPOWER // Many "POWER" fields actually
POWER_GZ FLOAT LMGZ UNPOWER // should be "ENERGY".
POWER_GZ FLOAT LMGZ UNPOWER // should be "ENERGY".0756
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this intentional?

Copy link
Contributor Author

@chipbarnaby chipbarnaby Nov 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. However, I am mystified as to where the .0756 came from. I grepped "everywhere" for those chars and did not find them. ??

@chipbarnaby chipbarnaby changed the title Eliminate unused Eliminate unused types from cndtypes.def; rcdef cleanup Dec 5, 2025
@chipbarnaby chipbarnaby changed the title Eliminate unused types from cndtypes.def; rcdef cleanup Eliminate unused types from cndtypes.def; rcdef cleanup; CMake build improvements Dec 22, 2025
@chipbarnaby chipbarnaby marked this pull request as ready for review December 22, 2025 20:42
@nealkruis nealkruis merged commit 43cb082 into main Dec 23, 2025
3 checks passed
@nealkruis nealkruis deleted the eliminate-unused branch December 23, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants