Opened 10 years ago

Last modified 9 years ago

#2801 closed defect

Move includes from Package.h into Package.c to minimize debugging information — at Version 2

Reported by: Adrian Pop Owned by: Martin Sjölund
Priority: high Milestone: 1.9.4
Component: MetaModelica Version: trunk
Keywords: Cc: Mahder Alemseged Gebremedhin

Description (last modified by Adrian Pop)

At least on Windows the omc executable has 300-400Mb which is huge
and makes debugging very slow. I suspect this happens because we
include a lot of .h files everywhere.

Currently all the includes are in Package.h and they should be moved into Package.c

Maybe even split Package.h into Package.public.h and Package.private.h and only include the Package.public.h into other .c files and the Package.private.h into Package.c.

Change History (2)

comment:1 by Adrian Pop, 10 years ago

Description: modified (diff)

comment:2 by Adrian Pop, 10 years ago

Description: modified (diff)
Summary: Move includes from Package.h into Package.cMove includes from Package.h into Package.c to minimize debugging information
Note: See TracTickets for help on using tickets.