Closed Bug 1681586 Opened 4 years ago Closed 2 years ago

XPIDL compiler uses redundant include guards

Categories

(Core :: XPCOM, task, P3)

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

Details

Attachments

(1 file)

The XPIDL compiler manually wraps its includes in include guards:

include = """
#ifndef __gen_%(basename)s_h__
#include "%(basename)s.h"
#endif
"""

I assume this isn't going to help anything in a modern compiler.

Assignee: nobody → continuation
Pushed by amccreight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4719793e4ab5 Remove include guard around XPIDL compiler includes. r=xpcom-reviewers,nika
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: