Jump to main content
MPLAB® XC32 C Compiler User's Guide for PIC32A MCU
MPLAB® XC32 C Compiler User's Guide for PIC32A MCU
  1. Home
  2. 6 Compiler Command-Line Driver
  3. 6.6 Driver Option Descriptions
  4. 6.6.7 Options for Controlling the Preprocessor
  5. 6.6.7.31 -P

  • Notice to Development Tools Customers
  • 1 Preface
  • 2 Compiler Overview
  • 3 Compiler and Other Development Tools
  • 4 How To's
  • 5 XC32 Toolchain and MPLAB® X IDE
  • 6 Compiler Command-Line Driver
    • 6.1 Invoking the Compiler
    • 6.2 The Compilation Sequence
    • 6.3 Runtime Files
    • 6.4 Compiler Output
    • 6.5 Compiler Messages
    • 6.6 Driver Option Descriptions
      • 6.6.1 Options Specific to 32-bit MCU Devices
      • 6.6.2 Options for Controlling the Kind of Output
      • 6.6.3 Options for Controlling the C Dialect
      • 6.6.4 Options for Controlling Warnings and Errors
      • 6.6.5 Options for Debugging
      • 6.6.6 Options for Controlling Optimization
      • 6.6.7 Options for Controlling the Preprocessor
        • 6.6.7.1 -Aquestion (answer)
        • 6.6.7.2 -A -predicate =answer
        • 6.6.7.3 -A predicate =answer
        • 6.6.7.4 -C
        • 6.6.7.5 -dD
        • 6.6.7.6 -Dmacro
        • 6.6.7.7 -Dmacro=defn
        • 6.6.7.8 -dM
        • 6.6.7.9 -dN
        • 6.6.7.10 -fno-show-column
        • 6.6.7.11 -H
        • 6.6.7.12 -iquote, -I-
        • 6.6.7.13 -Idir
        • 6.6.7.14 -idirafter dir
        • 6.6.7.15 -imacros file
        • 6.6.7.16 -include file
        • 6.6.7.17 -iprefix prefix
        • 6.6.7.18 -isystem dir
        • 6.6.7.19 -iwithprefix dir
        • 6.6.7.20 -iwithprefixbefore dir
        • 6.6.7.21 -M
        • 6.6.7.22 -MD
        • 6.6.7.23 -MF file
        • 6.6.7.24 -MG
        • 6.6.7.25 -MM
        • 6.6.7.26 -MMD
        • 6.6.7.27 -MP
        • 6.6.7.28 -MQ
        • 6.6.7.29 -MT target
        • 6.6.7.30 -nostdinc
        • 6.6.7.31 -P
        • 6.6.7.32 -trigraphs
        • 6.6.7.33 -Umacro
        • 6.6.7.34 -undef
      • 6.6.8 Options for Assembling
      • 6.6.9 Options for Linking
      • 6.6.10 Options for Directory Search
      • 6.6.11 Options for Code Generation Conventions
      • 6.6.12 Miscellaneous Options
    • 6.7 MPLAB® X IDE Toolchain Equivalents
  • 7 Device-Related Features
  • 8 Differences Between MPLAB® XC32 and C Standard
  • 9 Supported Data Types and Variables
  • 10 Fixed-Point Arithmetic Support
  • 11 Memory Allocation and Access
  • 12 Operators and Statements
  • 13 Register Usage
  • 14 Functions
  • 15 Interrupts
  • 16 Main, Runtime Startup and Reset
  • 17 Mixing C and Assembly Code
  • 18 Library Routines
  • 19 Optimizations
  • 20 Preprocessing
  • 21 Linking Programs
  • 22 Implementation-Defined Behavior
  • 23 Embedded Compiler Compatibility Mode
  • 24 Common C Interface
  • 25 Diagnostic Pragmas
  • 26 Diagnostic Messages
  • 27 GNU Free Documentation License
  • 28 Built-in Functions
  • 29 Document Revision History
  • Microchip Information

6.6.7.31 -P

Tell the preprocessor not to generate #line directives. Used with the -E option (see Options for Controlling the Kind of Output).

About

Company
Careers
Contact Us
Media Center
Investor Relations
Corporate Responsibility

Support

Microchip Forums
AVR Freaks
Design Help
Technical Support
Export Control Data
PCNs

Quick Links

microchipDIRECT.com
Microchip University
myMicrochip
Blogs
Reference Designs
Parametric Search
Microchip Logo

Microchip Technology Inc.

2355 West Chandler Blvd.

Chandler, Arizona, USA

Microchip Facebook
Microchip LinkedIn
Microchip Twitter
Microchip Instagram
Microchip Weibo

© Copyright 1998-2024 Microchip Technology Inc. All rights reserved. Shanghai ICP Recordal No.09049794

Terms Of Use
Privacy Notice
Legal
Your Privacy Choices California Consumer Privacy Act (CCPA) Opt-Out Icon