-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Describe the bug
This code fragment is not interpreted correctly (ie, vscode is not aware that HAVE_CONFIG_H is defined). As a result, the deflateBound definition appears active even though HAVE_DECL_DEFLATEBOUND is set to 1 in build-config.h
#if defined(HAVE_CONFIG_H)
#include "build-config.h"
#endif
#if !HAVE_DECL_DEFLATEBOUND
#define deflateBound(c,s) ((s) + (((s) + 7) >> 3) + (((s) + 63) >> 6) + 11)
#endif
Steps to reproduce the behavior:
AC_CHECK_DECLS([deflateBound],,,[[#include <zlib.h>]])
The "define deflateBound" line should be dimmer (not compiled) because zlib does implement the function, and HAVE_DECL_DEFLATEBOUND is set to 1 in build-config.h
Screenshots
Where does the extension run?
- OS where VSCode runs: Windows 10
- OS where the autotools extension runs: 2.71
- Extension Version: mergesium.autotools 0.3.1/linux-x64
What does the extension log? (OUTPUT pane / "Autotools" channel)
Paste here any relevant log output.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels