Skip to content

Issue in parsing __declspec( dllimport) in C++ code #373

Description

@jkumarss

Hi - Here are the 2 issues i'm facing.

  1. I have tried the following example with an open source CBMC (latest one). It throws a parser error while parsing the function func() although I have installed visual studio 2010 professional. Can someone help here?
    #define DllImport __declspec( dllimport)
    DllImport void func();

  2. I'm not able to include the standard directory using #include<stdio.h>. Rather the tool works with #include "stdio.h"

Request if someone could help me here.

Thanks
Jay

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions