Skip to content

Conversation

@kuzeyardic
Copy link

Summary

Fixed compilation error where uint32_t identifier was undefined by adding the required <cstdint> header include.

Problem

The code was using uint32_t in function parameters (lines 23 and 32) but the necessary header wasn't included, causing compilation failures with error "identifier 'uint32_t' is undefined".

Solution

Added #include <cstdint> to include the standard fixed-width integer type definitions.

Files Changed

  • include/ann_exception.h: Added cstdint include

Testing

  • Code compiles successfully
  • No breaking changes to existing API
  • Header-only change, no runtime impact

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change
  • Documentation update

Additional Notes

This ensures proper C++11 standard compliance and portability across different compilers and platforms.

- Resolves compilation error where uint32_t was undefined
- Adds required <cstdint> header for fixed-width integer types
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