home *** CD-ROM | disk | FTP | other *** search
- Q32210 Internal Compiler Error: ctypes.c 1.107, Line 474
- C Compiler
- 5.10 | 5.10
- MS-DOS | OS/2
-
- Summary:
- When the code fragment below is compiled with the default compiler
- options, it generates the following error:
-
- fatal error C1001: Internal Compiler Error
- (compiler file '@(#)ctypes.c:1.107', line 474)
- Contact Microsoft Technical Support
-
- The return type of the function is a pointer to a structure; upon
- assignment to the "a" variable, the indirection (*) is not necessary.
- To work around this problem, remove the indirection operator from
- the right-hand side of the assignment statement.
- Microsoft has confirmed this to be a problem in Version 5.10 of the
- C compiler. We are researching this problem and will post new
- information as it becomes available.
-
- More Information:
- The following code demonstrates the problem:
-
- typedef struct list
- {
- void *dummy; /* dumb types 2 are necessary */
- void *dummy2;
-
- struct list *next;
- } LIST;
-
- LIST * ret_ptr_type_LIST(void);
-
- void main(void);
- void main()
- {
- void * a;
- a = *ret_ptr_type_LIST();
- }
-
-
-
- Keywords: buglist5.10
- Updated 88/07/21 03:19
-