Skip to content

Added Compat.cpp and Compat.h for IDA 9.0 in HexRaysCodeXplorer.vcxproj#122

Open
herosi wants to merge 2 commits into
REhints:masterfrom
herosi:master
Open

Added Compat.cpp and Compat.h for IDA 9.0 in HexRaysCodeXplorer.vcxproj#122
herosi wants to merge 2 commits into
REhints:masterfrom
herosi:master

Conversation

@herosi

@herosi herosi commented Oct 8, 2024

Copy link
Copy Markdown

No description provided.

@blue-devil

Copy link
Copy Markdown

Can you manage to build for IDA Pro v9.0 with those changes? I am getting errors:

HexRaysCodeXplorer\src\HexRaysCodeXplorer\ReconstructableType.cpp(689,2): error C2065: 'struc_t': undeclared identifier
HexRaysCodeXplorer\src\HexRaysCodeXplorer\ReconstructableType.cpp(689,11): error C2065: 'struc': undeclared identifier
HexRaysCodeXplorer\src\HexRaysCodeXplorer\ReconstructableType.cpp(692,2): error C2065: 'member_t': undeclared identifier
HexRaysCodeXplorer\src\HexRaysCodeXplorer\ReconstructableType.cpp(692,12): error C2065: 'member': undeclared identifier

@blue-devil blue-devil mentioned this pull request Oct 27, 2024
@herosi

herosi commented Oct 27, 2024

Copy link
Copy Markdown
Author

Oh, I forgot to upload the changes. You can just comment out the lines for struc_t and member_t.

@gorgiaxx

gorgiaxx commented Apr 1, 2025

Copy link
Copy Markdown

The Makefile7.mac configuration is also missing the reference to Compat.cpp.

SRC=$(SRCDIR)CodeXplorer.cpp \
    $(SRCDIR)CtreeExtractor.cpp \
    $(SRCDIR)CtreeGraphBuilder.cpp \
    $(SRCDIR)Debug.cpp \
+  $(SRCDIR)Compat.cpp \
    $(SRCDIR)GCCObjectFormatParser.cpp \
    $(SRCDIR)GCCTypeInfo.cpp \
    $(SRCDIR)GCCVtableInfo.cpp \
    $(SRCDIR)IObjectFormatParser.cpp \
    $(SRCDIR)MSVCObjectFormatParser.cpp \
    $(SRCDIR)ObjectExplorer.cpp \
    $(SRCDIR)ReconstructableType.cpp \
    $(SRCDIR)reconstructed_place_t.cpp \
    $(SRCDIR)TypeExtractor.cpp \
    $(SRCDIR)TypeReconstructor.cpp \
    $(SRCDIR)MicrocodeExtractor.cpp \
    $(SRCDIR)Utility.cpp

@NewMai

NewMai commented Jun 17, 2025

Copy link
Copy Markdown

Good fix for VS.

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.

4 participants