Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A little update for program #1

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Hryapusek
Copy link

This one contains:

  • fix for linker errors tied with including global variables
  • additional gcc flags for 32-bit compiling
  • header guards
  • fix for some "implicit declarations of functions" warnings

We were studying SystemC in Peter the Great St. Petersburg Polytechnic University, so i decided to use this program and fixed it a bit. Hope it will be helpful!

Hryapusek added 9 commits May 12, 2023 15:35
Previously they were in header files sc2v_step1.h and sc2v_step2.h.
It caused linker errors. Now header files contain "extern var".
Just added an include to fix this one.
Global variables were moved to separate file. It fixes linker error.
Header guards were added.
Just added an include to fix this one.
This programm definitely was designed for 32-bit.
Otherwise it does not work at all.
Global variables file added to compilation process.
Just added an include to fix this one.
Global variables were moved to separate file. It fixes linker error.
Header guards were added.
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.

1 participant